Forums / Templates, Stylesheets, Page Layout / Why won't my header logo center?

Why won't my header logo center?

Locked

Views: 3,577

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
26 Jul 2006, 7:49 AM
#1
wowzah avatar

wowzah

New Zenner

Join Date:
Jun 2006
Posts:
23
Plugin Contributions:
0

Why won't my header logo center?

Hi

My site is https://www.maternit-ewest.com.au/store

I have tried playing with the padding and align settings in my style sheet to try and center the logo in the header, but I just can't get it quite right. I am looking at it on a 1280 x 800 res screen, and it looks near enough to center, but when I change the screen res and also on different browsers it is off center.

Also, does anyone know how I can get the bottom border of the Testimonials sidebox to appear?

Thanks so much

26 Jul 2006, 8:34 AM
#2
sicness avatar

sicness

Zen Follower

Join Date:
Apr 2006
Location:
Sofia, Bulgaria
Posts:
195
Plugin Contributions:
0

Re: Why won't my header logo center?

#logoWrapper {
width:770px; <---- change it to 800 somewhere
height:110px;
background-image:url(../images/header_bg.jpg);
background-repeat:no-repeat;
right: 40px;}

its becouse u have image large width 800px and u told in CSS to use 770px .

Radoslav

Negative feelings were burned by the progressive increase of Euphoria

26 Jul 2006, 9:01 AM
#3
wowzah avatar

wowzah

New Zenner

Join Date:
Jun 2006
Posts:
23
Plugin Contributions:
0

Re: Why won't my header logo center?

Ahh fantastic thanks so much! Another dumb mistake of mine just as I suspected... thanks again! :thumbsup:

I changed the wrapper dimensions to match the actual size of the logo....

#logoWrapper {
width:800px;
height:270px;
background-image:url(../images/header_bg.jpg);
background-repeat:no-repeat;
right: 40px;}

Seems to have worked :yes:

Thanks!

26 Jul 2006, 9:07 AM
#4
sicness avatar

sicness

Zen Follower

Join Date:
Apr 2006
Location:
Sofia, Bulgaria
Posts:
195
Plugin Contributions:
0

Re: Why won't my header logo center?

#mainWrapper {
background-color: #ffffff;
text-align: left;
width: 80%; <--- change it to 800px
vertical-align: top;
}

U may need to change becouse the main wrap is a just a little bit more widder

Negative feelings were burned by the progressive increase of Euphoria

26 Jul 2006, 6:47 PM
#5
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,862
Plugin Contributions:
18

Re: Why won't my header logo center?

Your fix should be here for the testimonials.

.rightBoxContainer {
align: right;
background-image:url(../images/sidebox_middle.gif);
background-repeat:repeat;
margin-top: 1.5em;
margin-left: -0.05em;
margin-right: 0.2em;
}
Just remove what's in red.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com