Results 1 to 4 of 4

(Probably) Simple Stylesheets Question

This is a discussion on (Probably) Simple Stylesheets Question within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; In stylesheets.css I know A and A:hover right now control the look of nearly all links, but its reall killing ...

      
  1. #1
    Lurker
    Join Date
    Sep 2004
    Posts
    2
    Rep Power
    0


    Default (Probably) Simple Stylesheets Question

    In stylesheets.css I know A and A:hover right now control the look of nearly all links, but its reall killing me on my designs. For instance if I want a dark colored background with white links on the left and a light colored background and dark links in the "main" content area, I just can't have that.

    So my question is...how can I make it to where the side boxes have different link styles than the links in the main area?

  2. #2
    Member
    Join Date
    May 2004
    Posts
    31
    Rep Power
    0


    Default

    I think all you need to do is to make new styles in stylesheet.css (like A2 and A:hover2 etc) and edit the infoboxes so that they use that new style.

  3. #3
    New Member
    Join Date
    Sep 2004
    Posts
    10
    Rep Power
    0


    Default

    what you need to do is to make a sub class in the style sheet for the second type of links that you need use some thing like
    a:link {
    color: #000000;
    }
    a.red:link {
    color: #00FF00;

  4. #4
    Lurker
    Join Date
    Sep 2004
    Posts
    2
    Rep Power
    0


    Default

    I know a pretty good amount stylesheets and pretty much how to work with the stylesheets.css file to accomplish most things, but I don't know enough about the osCommerce code to figure out where to go in and define a class for the info boxes that actually works...

Similar Threads

  1. Simple Template Question
    By Feeedbag in forum osCommerce 2.2 Modification Help
    Replies: 2
    Last Post: 07-22-2004, 07:00 AM
  2. Simple question about title
    By CMWM in forum osCmax v1.7 Discussion
    Replies: 3
    Last Post: 06-10-2004, 02:59 AM
  3. Simple configuration question
    By Learners_permit in forum osCommerce 2.2 Installation Help
    Replies: 7
    Last Post: 02-06-2004, 12:30 AM
  4. A Hopefully Simple Question
    By judoka in forum osCommerce 2.2 Modification Help
    Replies: 3
    Last Post: 06-13-2003, 11:10 AM
  5. Stock/Inventory Question and a few other simple questions!
    By arc in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 05-14-2003, 07: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
  •