hi all i am new here so here is my question how do u add different Images to individual Box Headers thanks
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 ...
hi all i am new here so here is my question how do u add different Images to individual Box Headers thanks
See this:
BTS Template Tutorial, Examples, converting osC template to BTS
Scroll down to the boxes section #6.3. Specifically this:
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!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).
Michael Sasek
osCMax Developer
osCmax Installation Service - Have our professionals install osCmax on your server - same day service!
osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5
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 Documentation
Thanks for the help
Bookmarks