Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Change color of href links

Change color of href links

Locked

Views: 2,895

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
18 Jun 2008, 3:43 PM
#1
fredweaver avatar

fredweaver

New Zenner

Join Date:
Jun 2008
Posts:
7
Plugin Contributions:
0

Change color of href links

I'm sure this is hidden somewhere in one of the style sheets, but I can't find it. I want to change the color of the links. The current color is the same or almost the same as the surrounding text.

18 Jun 2008, 4:09 PM
#2
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Change color of href links

Near the top of the main stylesheet.css, you will see declarations for links:

a:link, #navEZPagesTOC ul li a {
	color: #3300FF;
	text-decoration: none;
	}
 
a:visited {
	color: #3300FF;
	text-decoration: none;
	}

a:hover, #navEZPagesTOC ul li a:hover, #navMain ul li a:hover, #navSupp ul li a:hover, #navCatTabs ul li a:hover {
	color: #FF0000;
	}

a:active {
	color: #0000FF;
	}
```You can change links sitewide here, or add more narrowly defined selectors to change them in specific places.