osCmax v2.5 User Manual
Results 1 to 3 of 3

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 ...

      
  1. #1
    Lurker
    Join Date
    Nov 2008
    Posts
    4
    Rep Power
    0


    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

  2. #2
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    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:
    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


    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

  3. #3
    Lurker
    Join Date
    Nov 2008
    Posts
    4
    Rep Power
    0


    Default Re: How to add different Images to individual Box Headers

    Thanks for the help

Similar Threads

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

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •