751 posts
  • Has been part of the Envato Community for over 5 years
  • Has referred 1+ members
  • Has collected 10+ items on Envato Market
  • Sells items exclusively on Envato Market
+1 more
CyberShot says

I am having trouble with my links. I have a nav area in the header.php file that has links set to display white. All is good. But then I have in page.php there are links that I need to be blue. But for some reason, the css is turning all links blue. for the nav I have

nav a:link,a:visited { color: white; }

for the page.php I have

.entry a:link,a:visited { color: blue; }

any ideas?

1179 posts
  • Has referred 200+ members
  • Has sold $10,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Sells items exclusively on Envato Market
+2 more
mabuc says

try this one:

.nav a:link, .nav a:visited { color: #FFF; } .entry a:link, .entry a:visited { color: blue; }

try to change the HTML (Hexa) value of the color blue. ex. #FF0000.

76 posts
  • Has been part of the Envato Community for over 6 years
  • Has referred 1+ members
  • Located in Canada
  • Has collected 1+ items on Envato Market
+1 more
g_gilmore says

Just remember that if it’s for a specific class like .nav, and you’re putting it all on one line, you have to repeat ”.nav” for each element:

.nav a:link, .nav a:visited, .nav a:hover, .nav etcetc { color:white; }

751 posts
  • Has been part of the Envato Community for over 5 years
  • Has referred 1+ members
  • Has collected 10+ items on Envato Market
  • Sells items exclusively on Envato Market
+1 more
CyberShot says

Thanks guys. that did the trick.

by
by
by
by
by
by