Results 1 to 4 of 4

Infobox text color help

This is a discussion on Infobox text color help within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; Hi everyone! I am in a fix. i have the background of the info boxes as black and the color ...

      
  1. #1
    Member
    Join Date
    Dec 2002
    Posts
    87
    Rep Power
    0


    Default Infobox text color help

    Hi everyone!
    I am in a fix. i have the background of the info boxes as black and the color of the rest of the page is white. if I color the text of info boxes black it doesnt show up and if use a lighter color then the test on the page doesnt show up.

    is there any way to fix this i.e. have different colored text in info boxes and the rest of the page.
    appreciate your response

    Dumb_Question

  2. #2
    osCMax Developer

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


    Default

    Create a new stylesheet class in stylessheet.css and use it instead of infoBoxContents. For example:

    Code:
    .infoBoxColor {
      background: #F8E2AF;
      color: #339966;
    }
    Now, just replace the stylesheet tags that you want to display a different color with
    Code:
    class="infoBoxColor"
    Michael Sasek
    osCMax Developer


    osCmax installation service - Have our professionals install osCmax on your server - same day service!
    osCmax 2.0 User Manual - the must have beginners guide to osCmax v2.0

    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
    Sep 2003
    Posts
    4
    Rep Power
    0


    Default infoBox Color vs. tableBox Color

    Whew! I found this ld post waaay down on page 28. It's been two hours of reading!

    When I change the stylesheet.css text colors, and link colors for the infoBox styles, the two boxes I have out in the "STAGE" of osCommerce take that style too. The two boxes out there aren't really infoBoxes, they are "New Products" and a Contribution called "X-Sell" (or Cross sell, or We Also Recommend). These boxes are not in the side columns, they are under products in the center of the shop and under the main page text of index.php.

    How do I set a style to be used by ONLY these two boxes?
    [/catalog/includes/modules/featured.php]
    I tried editing this but it is so very different from the [/includes/boxes/] stuff.

    Help?!

  4. #4
    Lurker
    Join Date
    Sep 2003
    Posts
    4
    Rep Power
    0

Similar Threads

  1. how to change color of text in categories box
    By joanstead in forum osCmax v2 Customization/Mods
    Replies: 2
    Last Post: 01-17-2006, 06:58 AM
  2. Specific Problem with Text Color
    By draeseke in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 08-01-2005, 07:03 AM
  3. Help Changing infobox headings from text to an image
    By seandon01 in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 12-31-2004, 03:08 PM
  4. Text Color
    By groggory in forum osCmax v1.7 Discussion
    Replies: 11
    Last Post: 12-09-2004, 12:04 PM
  5. How do you change the text color in the box headings?
    By jmbishop in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 02-13-2003, 06:13 PM

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
  •