View Single Post
  #4  
Old 07-11-2011, 07:46 PM
Eugene Rimmer's Avatar
Eugene Rimmer Eugene Rimmer is offline
Senior Member
 
Join Date: Jan 2011
Location: Ecwid headquarters
Posts: 7,765
Default

Mike is right, you need to use the CSS code as given in his post in order to change the color of the links in the page.

The reason for that is how CSS generallly works. The div.ecwid-productBrowser-productNameLink element contains an <a> element, in which the text for the product name is situated. When you apply the color rule to div.ecwid-productBrowser-productNameLink, the children elements of it will inherit that value, if there is no CSS that sets the color specifically for them. And there is such CSS code for the product name links. So, in order to override it, you need to use the selectors that target the <a> tag inside div.ecwid-productBrowser-productNameLink , hence the code:
Code:
div.ecwid-productBrowser-cart div.ecwid-productBrowser-productNameLink a,
div.ecwid-productBrowser-cart div.ecwid-productBrowser-productNameLink a:active,
div.ecwid-productBrowser-cart div.ecwid-productBrowser-productNameLink a:visited {
    color: #fff;
 }
given by Mike is most suitable to do that.