751 posts
  • Has been part of the Envato Community for over 6 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 6 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.

Helpful Information

  • Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
  • Open a support ticket if you would like specific help with your account, deposits or purchases.
  • Item Support by authors is optional and may vary. Please see the Support tab on each item page.

Most of all, enjoy your time here. Thank you for being a valued Envato community member.

Post Reply

Format your entry with some basic HTML. Read the Full Details, or here is a refresher:

<strong></strong> to make things bold
<em></em> to emphasize
<ul><li> or <ol><li> to make lists
<h3> or <h4> to make headings
<pre></pre> for code blocks
<code></code> for a few words of code
<a></a> for links
<img> to paste in an image (it'll need to be hosted somewhere else though)
<blockquote></blockquote> to quote somebody

:grin: :shocked: :cry: Complete List of Smiley Codes

by
by
by
by
by
by