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

change color of header bar

Locked
This thread is locked. New replies are disabled.
2 Dec 2008, 10:35 AM
#1
lieven23 avatar

lieven23

Zen Follower

Join Date:
Aug 2008
Posts:
340
Plugin Contributions:
0

Post #1 by lieven23

hi,
There's a problem with my site that I don't know how to solve.
Under my header there is a bar which I don't know how to change
the color of it.
I have an add on from firefox with whom I can view the css from a certain part of my site.
Well it seems that there are 3 overlapping css parts of that second bar under my header.
Can anyone tell me how I could change the color or content with an image file of that second bar?

my site is https://www.afro-masks.com
(the pictures in it are not yet the masks I'm goiing to sell)

2 Dec 2008, 10:42 AM
#2
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Post #2 by kuroi

That color is the one set for your navMainWrapper at around about line 64 of your stylesheet. The setting also controls the color of the top menu bar.

This is because you have two DIVs with the same ID - which you shouldn't have.

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

2 Dec 2008, 11:52 AM
#3
lieven23 avatar

lieven23

Zen Follower

Join Date:
Aug 2008
Posts:
340
Plugin Contributions:
0

Post #3 by lieven23

I've changed the color in Mainwrapper div temporary and it did change the color, but it also changed the color in the upper first bar,
which I do not want to change.
Is there a way to control only the second bar?
Thx

2 Dec 2008, 11:55 AM
#4
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Post #4 by kuroi

Yes. Give it a unique ID, which you should do anyway, as repeating the same ID twice on a page is invalid.

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

2 Dec 2008, 12:00 PM
#5
lieven23 avatar

lieven23

Zen Follower

Join Date:
Aug 2008
Posts:
340
Plugin Contributions:
0

Post #5 by lieven23

This unique ID ,I'm only aware of inserting them in HTML, but not in PHP. Where in what file should I insert them?
(I'm only a beginner in zencart)

Thx for the advice

2 Dec 2008, 12:15 PM
#6
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Post #6 by kuroi

Zen Cart doesn't have this duplicate so it must be one that you inserted, and only you can know for sure where. My best guess would be your tpl_header.php file.

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

2 Dec 2008, 12:55 PM
#7
lieven23 avatar

lieven23

Zen Follower

Join Date:
Aug 2008
Posts:
340
Plugin Contributions:
0

Post #7 by lieven23

Isn't there anybody who can help me with this, cause I don't now much about Php:(