Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Does anyone know how to change link color


jdice

Recommended Posts

Hello all,

 

I have a bts template so most of my changes are in stylesheet. The issue I am having...is I want my navigational bar(div.navBarContent) links to be a different than my category box links (div.infoBoxFL.).

 

I understand if you change A: color: #ffffff; ...that changes all the links on the page to the same color. I did that to change them from the traditional blue color to a green. But how do I override this...but only in one section like the div.infoBoxFL section?

 

Or is that not possible? I may just have to settle for one color for all the links...but I don't want to.

Janet

Link to comment
Share on other sites

Hello all,

 

I have a bts template so most of my changes are in stylesheet. The issue I am having...is I want my navigational bar(div.navBarContent) links to be a different than my category box links (div.infoBoxFL.).

 

I understand if you change A: color: #ffffff; ...that changes all the links on the page to the same color. I did that to change them from the traditional blue color to a green. But how do I override this...but only in one section like the div.infoBoxFL section?

 

Or is that not possible? I may just have to settle for one color for all the links...but I don't want to.

Janet

In the navBarContent class in your style sheet add "color: #XXX;" to that section and it should do what you want. It will override the overall setting of the A class.

Link to comment
Share on other sites

In the navBarContent class in your style sheet add "color: #XXX;" to that section and it should do what you want. It will override the overall setting of the A class.

No...it just changes the arrows in the navigational bar...not the clickable links.

 

I also tried this...A:link {color: #ffffff;}.... but it did not work either...so I am stumped on this one.

Link to comment
Share on other sites

try:

 

div.navBarContent a:link, div.navBarContent a:visited {

color:#YOUR HEX

}

 

div.infoBoxFL a:link, div.infoBoxFL a:visited {

color:#ANOTHER HEX

}

SolarFrenzy

Solar powered gadgets at down to earth prices.

 

CheekyNaughty

Promoting British Design

Link to comment
Share on other sites

  • 4 years later...

Archived

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

×
×
  • Create New...