osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

How to add different Images to individual Box Headers

This is a discussion on How to add different Images to individual Box Headers within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; hi all i am new here so here is my question how do u add different Images to individual Box ...



Find us on Facebook
Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > osCommerce 2.2 Modification Help

Connect with Facebook Register FAQDonate Members List Calendar Mark Forums Read


Closed Thread

 

LinkBack Thread Tools
  #1  
Old 11-22-2008, 01:12 PM
Lurker
 
Join Date: Nov 2008
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
awgp is on a distinguished road
Default How to add different Images to individual Box Headers

hi all i am new here so here is my question how do u add different Images to individual Box Headers thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2  
Old 11-22-2008, 02:14 PM
michael_s's Avatar
osCMax Developer


 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 15,731
Thanks: 139
Thanked 608 Times in 520 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default Re: How to add different Images to individual Box Headers

See this:
BTS Template Tutorial, Examples, converting osC template to BTS

Scroll down to the boxes section #6.3. Specifically this:
Quote:
Note:
In the BTSv1.2 the infoboxes automatically get their own (CSS) id, and "$box_id" contains the the id name (it is set in the "includes/boxes/" files, directly derived from the filenames of the boxes ).

This way you can assign different styles to different boxes, even without creating separate templates for it. We will use this feature in this example to give the categories box and search box their own heading background (orange for the search and green for the categories).
You just need to create different styles in the stylesheet with the same name as the $box_id and it will automatically style the box (so you can simply specify a different background image for that style). Pretty easy stuff!
__________________
Michael Sasek
osCMax Developer

*** Do not PM me requesting paid help. The only paid work I do is for AABox Web Hosting customers ***

Stay Up To Date with everything osCMax:
Free osCMax Newsletters - Security notices, New Releases, osCMax News
osCMax on Twitter - Up to the minute info as it happens. Know it first.

osCMax User Manual - osCMax Templates - Advanced Template Tutorial

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 11-22-2008, 02:20 PM
Lurker
 
Join Date: Nov 2008
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
awgp is on a distinguished road
Default Re: How to add different Images to individual Box Headers

Thanks for the help
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
2 headers UGH! AnnieChrist osCommerce 2.2 Modification Help 1 03-24-2005 04:06 AM
Headers lem osCMax v1.7 Discussion 0 02-17-2005 11:07 PM
Remove box headers? operadivamommy osCMax v1.7 Discussion 3 12-01-2004 09:04 AM
infoBox headers glynn osCMax v1.7 General Mods Discussion 2 03-19-2004 10:54 AM
Random Headers? idiehdesigns osCommerce 2.2 Modification Help 3 02-15-2004 03:17 AM


All times are GMT -8. The time now is 02:17 PM.


Powered by vBulletin®
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO
Copyright 2009 osCMax
Inactive Reminders By Icora Web Design