Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Whitesapce between logo and sideboxes

Whitesapce between logo and sideboxes

Locked

Views: 817

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
4 Jan 2010, 8:26 PM
#1
ss002d6252 avatar

ss002d6252

New Zenner

Join Date:
Dec 2005
Posts:
11
Plugin Contributions:
0

Whitesapce between logo and sideboxes

Which element of the stylesheet do I need to edit to reduce the amount of whitespace between the bottom of my logo and the top of the sideboxes. I've tried editing the stylesheet without luck (site is https://www.ww1records.co.uk).

Thanks

5 Jan 2010, 4:22 PM
#2
penster_01 avatar

penster_01

New Zenner

Join Date:
Nov 2009
Posts:
19
Plugin Contributions:
0

Re: Whitesapce between logo and sideboxes

in the stylesheet make sure your logowrapper matches the height of your logo graphic I used;
#logo,{
float: left;
margin-left: 0px;
padding: 0px;
height: 59px;
width: 235px;
}
#logoWrapper {
background-color: transparent;
height:59px;
margin: 0px;
padding: 0px;
left: 0;
}
also;
#headerWrapper {
background-image: url(../images/header_bg.jpg);
background-repeat: no-repeat;
margin: 0px;
}

5 Jan 2010, 6:40 PM
#3
ss002d6252 avatar

ss002d6252

New Zenner

Join Date:
Dec 2005
Posts:
11
Plugin Contributions:
0

Re: Whitesapce between logo and sideboxes

Hi

Thanks for your reply.

I have tried your suggestion but the whitespace is still showing.

5 Jan 2010, 7:23 PM
#4
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Whitesapce between logo and sideboxes

Your currently have "Category Tabs" enabled... That's why you are seeing your categories (A - Z) across the top.

That is a DIV in its own right, and stretches across the page under the header.

You can DISABLE that via admin>>>configuration>>>layout settings... Categories-Tabs Menu ON/OFF (near the bottom)

... set this to off.

This will push the side columns up a bit.

Come back here if the space reduction is not enough...

5 Jan 2010, 7:34 PM
#5
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Whitesapce between logo and sideboxes

If you want to KEEP your Category Tabs at the top... try adding this to the bottom of stylesheet.css

#editablesidebox, #blanksidebox {
 margin-top: -25px;
 }

This is based on the fact that the sideboxes at the TOP of each of these columns will remain in this sort order (aways at the top).

If you put other sideboxes at the top, and then have these underneath, you will have new problems!

The -25px (negative 25 pixels) forces the boxes into the previous div's space... you can adjust this value as needed.

5 Jan 2010, 9:35 PM
#6
ss002d6252 avatar

ss002d6252

New Zenner

Join Date:
Dec 2005
Posts:
11
Plugin Contributions:
0

Re: Whitesapce between logo and sideboxes

Ive tried the last option andit works great , thanks.