If this is your first visit, check our documentation. To post, register or login.

How to change color of ezpage links?

Locked

Started by sfklaas on 2 Apr 2008, 3:09 PM · Views: 1,343

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
2 Apr 2008, 3:09 PM
#1
sfklaas avatar

sfklaas

Zen Follower

Join Date:
Mar 2008
Posts:
219
Plugin Contributions:
0

How to change color of ezpage links?

I saw in css style sheet that I can change the color of the links under:

a:link, #navEZPagesTOC ul li a {
color: #009900;

However, it changes every single link on the home page to that color. If I want to make my ezpage header links one color and the rest of my links to another color, is that possible. My site is https://www.bendisskin.com. I want to keep my header links grey, but the rest of my links blue.

Any help would be greatly appreciated!

Steve

2 Apr 2008, 3:52 PM
#2
fairestcape avatar

fairestcape

Totally Zenned

Join Date:
Mar 2008
Location:
Cape Town & London (depends on the season)
Posts:
2,957
Plugin Contributions:
0

Re: How to change color of ezpage links?

a:link, #navEZPagesTOC ul li a {
color: #009900; }

You will discover that the standard stylesheet "bundles" some classes and ID's together in many cases. The one above has bundled the generic a:link and the #navEZPagesTOC ul li a

You need to separate bundles if you want different styles to apply to the individual components:-

a:link, {
color: #009900; }

#navEZPagesTOC ul li a {
color: #D6F6F6; }

(Remember that styles are read chronologically - the last stated style in a stylesheet is the one that's active in a browser.)