Forums / Templates, Stylesheets, Page Layout / Help with how to change colours please

Help with how to change colours please

Locked

Views: 936

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
19 Aug 2009, 2:32 PM
#1
daisy avatar

daisy

New Zenner

Join Date:
Nov 2006
Posts:
28
Plugin Contributions:
0

Help with how to change colours please

I want to change the colour of the text within the side boxes so for example the Information box where it willl say Shipping & Returns, Privacy Notice etc it is this font that I want to change the colour of. I have changed the header title of the boxes to a green background with a white font but all of the text inside the boxes is showing blue so it looks very wrong, any help would be appreciated thank you

19 Aug 2009, 2:55 PM
#2
rstevenson avatar

rstevenson

Totally Zenned

Join Date:
Nov 2006
Location:
Dartmouth, NS Canada
Posts:
2,400
Plugin Contributions:
0

Re: Help with how to change colours please

You changed your stylesheet, in the informationHeading section, to the colour you wanted for the heading. You do the same for the content, except ...

The trick with the links in the sidebox is just that. They're links. So you have to get the right section of the stylesheet, informationContent, and then add "a" after that to style the links.

The default stylesheet doesn't have those IDs in it, but they are part of the Zen Cart code, so you can add them to the stylesheet. I usually make a section at the bottom of the stylesheet where I put all my edits to make them easy to find. Something like this should work...

#informationContent a { color: red; }

You'd probably also want to style the hover, active and visited states as well. See elsewhere in the stylesheet for ways to do that.

Rob

Breakfast: the most important donut of the day.

19 Aug 2009, 8:03 PM
#3
daisy avatar

daisy

New Zenner

Join Date:
Nov 2006
Posts:
28
Plugin Contributions:
0

Re: Help with how to change colours please

Thank you Rob are the hover, active and visited states easy to find within the stylesheet? I am very new to all of this so I really do appreciate any help but in very easy to follow instructions until I get the hang of what I am doing