Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / nav column left & right

nav column left & right

Locked

Views: 1,681

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
28 Mar 2007, 10:07 AM
#1
prellyan avatar

prellyan

Zen Follower

Join Date:
Mar 2006
Location:
Australia
Posts:
268
Plugin Contributions:
0

nav column left & right

hey there,

i have the following

#navColumnOneWrapper {
margin-left: 1.5em;
margin-right: 1.5em;
text-align:center;
width:200px;
background-color:#000000;
border: 5px solid #000000;
}

everything works except the width:200px;

can anyone please help with this?

Thanks

28 Mar 2007, 10:29 AM
#2
misty avatar

misty

Inactive

Join Date:
Apr 2004
Location:
UK
Posts:
5,752
Plugin Contributions:
1

Re: nav column left & right

Column width normally set via
admin/layout settings/column width - left or
column width - right

28 Mar 2007, 11:10 AM
#3
prellyan avatar

prellyan

Zen Follower

Join Date:
Mar 2006
Location:
Australia
Posts:
268
Plugin Contributions:
0

Re: nav column left & right

thanks i got that.

but for some reason the background colour doesnt fill in the entire set width of the admin setting?

any thoughts?

28 Mar 2007, 11:14 AM
#4
prellyan avatar

prellyan

Zen Follower

Join Date:
Mar 2006
Location:
Australia
Posts:
268
Plugin Contributions:
0

Re: nav column left & right

does the seperation of the navcolumns effect this?

as such?

#navColumnOneWrapper {
margin-left: 1.5em;
margin-right: 1.5em;
text-align:center;
background-color:#000000;
border: 5px solid #000000;
}
#mainWrapper {
margin: auto;
}
#navColumnTwoWrapper {
margin-left: 1.5em;
margin-right: 1.5em;
text-align:center;
background-color:#000000;
border: 5px solid #000000;
}

28 Mar 2007, 12:41 PM
#5
prellyan avatar

prellyan

Zen Follower

Join Date:
Mar 2006
Location:
Australia
Posts:
268
Plugin Contributions:
0

Re: nav column left & right

i ask because changing the widths in the admin section doesnt work

28 Mar 2007, 1:35 PM
#6
prellyan avatar

prellyan

Zen Follower

Join Date:
Mar 2006
Location:
Australia
Posts:
268
Plugin Contributions:
0

Re: nav column left & right

i have reset the stylesheet and now the admin width works but the background colour of the stylesheet does not fill in the entire new width setting.

Any ideas?

28 Mar 2007, 1:40 PM
#7
rstevenson avatar

rstevenson

Totally Zenned

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

Re: nav column left & right

We could figure it out pretty quickly with a link, but if your site is on a test server we can't see, we just have to guess. And my guess is that you've got the background color inside something which also needs the width set to 200px. Search the stylesheet for "width:" and make sure you know what each of them is doing.

Do you use Firefox as your development browser? With some of those great developer's tools added in to it? If so, Aardvark can tell you which element the background color is really in.

HTH

Rob

28 Mar 2007, 1:42 PM
#8
prellyan avatar

prellyan

Zen Follower

Join Date:
Mar 2006
Location:
Australia
Posts:
268
Plugin Contributions:
0

Re: nav column left & right

ok got it

#navColumnOne, #navColumnTwo {
background-color: transparent;
}

change that colour to fill it all