Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / Customizing the Look of Your Shop / Templates, Stylesheets, Page Layout / Can I change the color of the EZ Banner text?

Can I change the color of the EZ Banner text?

Locked

Started by jaz1974 on 31 Jan 2007, 5:58 PM · Views: 3,351

Results 1 to 12 of 12
This thread is locked. New replies are disabled.
31 Jan 2007, 5:58 PM
#1
jaz1974 avatar

jaz1974

New Zenner

Join Date:
Aug 2006
Posts:
66
Plugin Contributions:
0

Post #1 by jaz1974

Is it possible to alter the color of the EZ Pages Banner, without affecting the color of all my other links?
I want the text to be white, since the banner background is dark blue.
I've tried changing this in the css, but it has no effect.
Am I looking in the wrong place?

#navEZPagesTOC ul li a {
color: #ffffff;
text-decoration: none;
}

Here is link to the site, it should make it clearer.

http://www.bathroomzone.co.uk

Thanx...Jaz

31 Jan 2007, 8:12 PM
#2
rush_woman avatar

rush_woman

Zen Follower

Join Date:
Jan 2007
Location:
California
Posts:
328
Plugin Contributions:
0

Post #2 by rush_woman

jaz1974:

Is it possible to alter the color of the EZ Pages Banner, without affecting the color of all my other links?
I want the text to be white, since the banner background is dark blue.
I've tried changing this in the css, but it has no effect.
Am I looking in the wrong place?

#navEZPagesTOC ul li a {
color: #ffffff;
text-decoration: none;
}

Here is link to the site, it should make it clearer.

http://www.bathroomzone.co.uk

Thanx...Jaz

Yes, you can change it. Here is the css code I think is what you want to change:

#navMain ul li a, #navSupp ul li a, #navCatTabs ul li a {
text-decoration: none;
padding: 0em 0.5em;
margin: 0;
color: #ffffff;
white-space: nowrap;
}

Please note that I have only been doing this for a couple weeks though I've done a lot of customization. I say this because I'm not sure if what you're calling the EZ Pages Banner is the same thing as that code I just copied. That code changes the color of the words in the bar across the top, below the logo. I think this is what you want to change?

If you're using Firefox, go download the Web Developers Tool which will let you see the names of objects, et al (don't quote me on the technical term). Anyway, you can then open the "Edit CSS" editor, play with stuff and look at your changes as WYSIWYG.

The editor does NOT change the stylesheet itself but lets you mess around with colors and such till you get what you want. Then go into your stylesheet using a text editor and make the actual changes. Upload to the server and the changes are permanent.

I also downloaded Color Zila which will let you sample the color, give you the Hex number and you can search for it. This helps, too. I also use Aardvark sometimes in conjunction with the Web Developers Tool. These help you tweak your web site a lot faster. These are all also free, BTW.

Good luck. I made so many color changes and such that I was leaving the stylesheet open in a text editor, saving the change, then immediately uploading to the site. :P

Good luck and please enjoy playing. You will get familiar with stuff and it will get easier and quicker to customize what you want. Remember, you can always reload a file if you need to start again. So it is difficult to break Zen Cart.

Cheryl

31 Jan 2007, 10:17 PM
#3
jaz1974 avatar

jaz1974

New Zenner

Join Date:
Aug 2006
Posts:
66
Plugin Contributions:
0

Post #3 by jaz1974

Hi rush_woman,

Thanks for the reply.
Unfortunately this doesnt seem to have solved my problem.

Has anyone managed to change the text color in the EZ Pages Banner?

I've gone through everything I can think of, but nothing seems to allow me to change it without changing the color of all my links.

31 Jan 2007, 10:37 PM
#4
rush_woman avatar

rush_woman

Zen Follower

Join Date:
Jan 2007
Location:
California
Posts:
328
Plugin Contributions:
0

Post #4 by rush_woman

I have changed the font colors on everything.

http://208.109.193.212/

Maybe if you tell me what words you want changed, I could point you to the correct stylesheet area. I've kept a list of the font color customizations I've done and what part of the stylesheet they're in.

Cheryl

31 Jan 2007, 11:38 PM
#5
jaz1974 avatar

jaz1974

New Zenner

Join Date:
Aug 2006
Posts:
66
Plugin Contributions:
0

Post #5 by jaz1974

Thanks, that would be great.

The links I want to change are those along the dark blue nav bar.

HOME | ABOUT US | OUR STORES | etc....

They are currently BLACK.

Perhaps you could use the Firefox Web Developer Tool, to play around with the page to see if you can get these to change to WHITE ?

http://www.bathroomzone.co.uk

1 Feb 2007, 2:19 AM
#6
rush_woman avatar

rush_woman

Zen Follower

Join Date:
Jan 2007
Location:
California
Posts:
328
Plugin Contributions:
0

Post #6 by rush_woman

Well, the reason all the links change color with 1 re-code is because the code controlling the colors of links in the left boxes is missing.

All this is missing from your stylesheet and I have in mine:
/* categories box parent and child categories */

And this controls all the colors in the side boxes.

This code is in your stylesheet and these 2 control all the link colors:
a:visited is the color for the Home link in that bar.
a:link is the color for the rest of the links on the whole page
.

Without the code that belongs in the /* categories box parent and child categories */, those two places are the only color controls on the page.

Oh, that /* categories.... / code goes before / misc */ in my stylesheet.

Hope this helps.

Cheryl

1 Feb 2007, 4:54 AM
#8
rush_woman avatar

rush_woman

Zen Follower

Join Date:
Jan 2007
Location:
California
Posts:
328
Plugin Contributions:
0

Post #8 by rush_woman

:lol: Thanks so much! Wasn't working no matter what I tried; then there was the absent categories stuff...... Feel as if I'm looking at a different stylesheet than anyone else. :shocking: Must be me....

Thanks again,

Cheryl

1 Feb 2007, 9:19 AM
#9
jaz1974 avatar

jaz1974

New Zenner

Join Date:
Aug 2006
Posts:
66
Plugin Contributions:
0

Post #9 by jaz1974

Thanks Jettrue,

Now that I've added this class to the css it works a treat!

Pretty annoying that I've spent about 6 hours trying to figure this out.
Any idea why this was missing from the CSS?

Surely this is a fairly fundemental change that most people will want to make.
Im surprised there isnt another thread in the forums on this.

Anyway - cheers guys.

Jaz

1 Feb 2007, 1:13 PM
#10
jettrue avatar

jettrue

Totally Zenned

Join Date:
Jan 2005
Location:
USA, St. Louis
Posts:
3,651
Plugin Contributions:
5

Post #10 by jettrue

Not every single tag is contained in the css.

However, if you look at the source of your page, you can see all of the tags that are in action, and you can see that #navEZPagesTop is the one nearest to the text that you wanted to change.

1 Feb 2007, 2:23 PM
#11
jaz1974 avatar

jaz1974

New Zenner

Join Date:
Aug 2006
Posts:
66
Plugin Contributions:
0

Post #11 by jaz1974

Very very nice tip.

I love this forum !! - woo

1 Feb 2007, 2:33 PM
#12
jaz1974 avatar

jaz1974

New Zenner

Join Date:
Aug 2006
Posts:
66
Plugin Contributions:
0

Post #12 by jaz1974

....and thanks again.