Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Change hyperlink in boxes text colour


ChocolateTeapot

Recommended Posts

How do I change the colour of the hyperlinks in the left and right columns independently of other hyperlinks?

 

My left and right columns have a dark background and therefore need a white text and everything else is white so needs a dark text colour.

 

I can see that the A style controls the hyperlink text. How do I create a new style for the box hyperlinks, what do I call it and how do I apply it?

 

Any help would really be appreciated.

 

Thanks.

Link to comment
Share on other sites

I've tried adding

 

A.infoBoxNoticeContents {

color: #FFFFFF;

}

 

A.infoBoxNoticeContents:hover {

color: #FFFFFF;

}

 

to the stylesheet but I'm still getting the results for

 

A {

color: #FF9933;

text-decoration: none;

}

 

A:hover {

color: #AABBDD;

text-decoration: underline;

}

 

I've tried adding an A. class for all infobox classes but none of them work.

Link to comment
Share on other sites

I've also tried

.boxText { font-family: Verdana, Arial, sans-serif; font-size: 10px; } a:link, a:visited {color: #FFFFFF;} a:hover {color: #AABBDD;}

which has worked, but overridden

 

A {

color: #FF9933;

text-decoration: none;

}

 

A:hover {

color: #AABBDD;

text-decoration: underline;

}

 

So I'm back to my original problem.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...