Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

CSS question


Guest

Recommended Posts

I'm trying to use a tabbed category menu but I'm stuck with the css...........If you wanna see what I mean go to click here and click on a tab - that font color needs to modified.

When I for example change the size of the font the thing change, but when I change the font linkcolor nothing happens..............

The code:

TD.ontab {

background-color: #295e7d;

font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;

font-style: normal;

font-weight: bold;

font-size: 10px;

color: #ffffff;

text-decoration : none;

}

 

Right now it looks like there is some kind of overrun by the default link color, any suggestions????????

laterssssss,

Chris

Link to comment
Share on other sites

It looks like those are being controlled by the TD.Header entries.

 

Look in your header.php for the row or cell where the tabs are - it will probably have class="Header".

Link to comment
Share on other sites

Just add a new field in css for it, go to your categories.php in boxes/ and put in class="newfield" in the <a link

 

-Dennis

 

EDIT: Just re read your post, for links you need a "a." in front of your classes. For example,

A.ontab { blah blah }
A.ontab:hover {  blah blahb}

 

Hope that helps you.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...