Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Changing header bar and left column background color

Changing header bar and left column background color

Locked

Views: 4,048

Results 1 to 9 of 9
This thread is locked. New replies are disabled.
11 May 2008, 4:22 AM
#1
mydlam avatar

mydlam

New Zenner

Join Date:
May 2008
Posts:
4
Plugin Contributions:
0

Changing header bar and left column background color

I'm sorry if this has been answered but somehow i couldn't find it.

I tried to change the background color the header bar on top to green (where home, login and search box are) but it didn't the entire header bar (still gray).

You can see it here

http://www.floratouch.com/store/

I also want to change the orange (below the header) and the magenta color (feature listings). Please let me know where I can change these. Thanks in advance.

23 May 2008, 3:19 AM
#3
mydlam avatar

mydlam

New Zenner

Join Date:
May 2008
Posts:
4
Plugin Contributions:
0

Re: Changing header bar and left column background color

I read all the tutorials that you mentioned and also went thru the Max Design tutorial. I have a better idea of how CSS works now.

I thought if I wanted to change background color of the top nav bar (home login) I could just add the below
#navMain {
background-color: #005380;
}

and the background color of the top nav bar would change.

However, it only changed half of the bar as shown in my website.

Also I don't know why the navSupp and navCatTabs have the gray color, I don't set the background to gray anywhere.

Thanks for your help!

23 May 2008, 5:01 AM
#4
kobra avatar

kobra

Black Belt

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

Re: Changing header bar and left column background color

First, you have named a file stylesheet_save.css and any file with the extention of css is parsed -
get rid of the .css extention for old copies name them stylesheet.old or anything but .css

Next you have broken your sheet named stylesheet.css

I suggest your delete it and rename stylesheet_save.css to stylesheet.css

Once that is done then find this code in the file and change the red highlighted value to the color you want

#navMainWrapper, #navSuppWrapper, #navCatTabsWrapper {
	margin: 0em;
	background-color: #9a9a9a;
	font-weight: bold;
	color: #ffffff;
	height: 1%;
	width: 100%;
	}
23 May 2008, 5:30 AM
#5
flatlander avatar

flatlander

New Zenner

Join Date:
May 2008
Posts:
32
Plugin Contributions:
0

Re: Changing header bar and left column background color

Hi,

I assume you know you can go into

/public_html/includes/templates/images/

and change tile_back.gif to your own image that you want in the top nav bar and footer, and this will then appear there (its only a small image but it is set to repeat in the style sheet).

This is all I did anyway.

Thanks

23 May 2008, 6:49 AM
#6
mydlam avatar

mydlam

New Zenner

Join Date:
May 2008
Posts:
4
Plugin Contributions:
0

Re: Changing header bar and left column background color

Thanks so much. I didn't know any file w/ css extension is parsed. That solves my problem!

30 May 2008, 3:42 PM
#7
ehswift avatar

ehswift

New Zenner

Join Date:
May 2008
Location:
Amarillo, TX
Posts:
39
Plugin Contributions:
0

Re: Changing header bar and left column background color

I am using the template override system for the layout of my store and would like to point to tile_back.gif or my own personal image, but what file contains the path to this image? I too am seeing gray in the top nav bar.

30 May 2008, 7:34 PM
#8
kobra avatar

kobra

Black Belt

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

Re: Changing header bar and left column background color

ehswift,

I am using the template override system for the layout of my store and would like to point to tile_back.gif or my own personal image, but what file contains the path to this image? I too am seeing gray in the top nav bar.
Do not make this harder than it needs to be....
What template are you using?
What is a link to your site?

10 Jun 2008, 6:13 AM
#9
ehswift avatar

ehswift

New Zenner

Join Date:
May 2008
Location:
Amarillo, TX
Posts:
39
Plugin Contributions:
0

Re: Changing header bar and left column background color

I am working in getting my store live, so no link just yet, may have to get back to you later on this one.