751 posts
  • 6 Years of Membership
  • Affiliate Level 1
  • Collector Level 2
  • Exclusive Author
+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?

1180 posts
  • Affiliate Level 5
  • Author Level 5
  • Collector Level 2
  • Exclusive Author
+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
  • 6 Years of Membership
  • Affiliate Level 1
  • Canada
  • Collector Level 1
+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
  • 6 Years of Membership
  • Affiliate Level 1
  • Collector Level 2
  • Exclusive Author
+1 more
CyberShot
says

Thanks guys. that did the trick.

by
by
by
by
by
by