Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Change link colors in side box

Change link colors in side box

Views: 1,092

Results 1 to 5 of 5
13 Jan 2011, 12:26 AM
#1
hollywood691 avatar

hollywood691

New Zenner

Join Date:
Jan 2011
Posts:
58
Plugin Contributions:
0

Change link colors in side box

I have been trying to find how to change category and link colors in my left sidebox.....and can't find it. Looked all through my template style sheets.

I'm using sage template that I changed up a bit.

My site is https://www.3doutdoors.com/store

13 Jan 2011, 2:15 AM
#2
hollywood691 avatar

hollywood691

New Zenner

Join Date:
Jan 2011
Posts:
58
Plugin Contributions:
0

Re: Change link colors in side box

I got most of it

13 Jan 2011, 2:30 AM
#3
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Change link colors in side box

If a general/default link this controls the color

[CODE]a:link, #navEZPagesTOC ul li a {
	color: #656565;
	text-decoration: none;
	}
```\[/CODE]

Zen-Venom Get Bitten

13 Jan 2011, 12:50 PM
#4
hollywood691 avatar

hollywood691

New Zenner

Join Date:
Jan 2011
Posts:
58
Plugin Contributions:
0

Re: Change link colors in side box

Yea, my sidebox is a dark color so I need it like white......but the main part is white....so its hard to find a color to show on light and dark good.

This is why I wanted to know if there was a way to set it seperate.:lamo:

13 Jan 2011, 1:56 PM
#5
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: Change link colors in side box

Add this to includes/templates/YOUR_TEMPLATE/css/stylesheet.css (where YOUR_TEMPLATE is the name of your custom template.

.sideBoxContent a:link {
	color: #FFFFFF;
	text-decoration: none;
	}

It will change the links to white, but you can adjust the color to what works best for you.

You can follow the same format for the other link colors
a:visited, a:hover and a:active.

Mary Ellen
I came; I saw; I Zenned
Taking over the world... one website at a time
Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

Holzheimer
Fan Odyssey