Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Please Help - Hyperlinks


Guest

Recommended Posts

I want to make the hyperlinks in the navigation bars or "infoboxes" a different colour than on the main body.

 

Ive tried the following, which i think is right, and many other variations in the stylesheet to change the colour of the hyperlinks in the "infoboxes" but it isnt working.

 

A.infoBoxContents {

color: #333333;

}

 

A.infoBoxContents:hover {

color: #666666;

text-decoration: underline;

}

 

What's wrong with this? I would greatly apreciate being told what is wrong here.

 

Thanks!

Link to comment
Share on other sites

this will only work if you explicitly specify the link parameters with a class infoBoxContents. So when you pass the link to the info box contents array you have to specify the class parameter if the <a> tag.

Link to comment
Share on other sites

  • 2 weeks later...
What's wrong with this? I would greatly apreciate being told what is wrong here.

Thanks!

 

I tried that too but also found it didn't work. Enigma spurred me on to investigater further. Change your navigation links using the boxText class at the top of the style sheet.

 

Sheri :thumbsup:

Link to comment
Share on other sites

Change your navigation links using the boxText class at the top of the style sheet.

Sheri :thumbsup:

 

Whoops :-" That class seems to only alter the size of the font rather than the colour. I'll keep fiddling around to find the solution because I need it as well.

 

Sheri

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...