Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Can't centre my logo - FAQ instructions didn't work for me

Can't centre my logo - FAQ instructions didn't work for me

Locked

Views: 945

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
5 Jan 2010, 6:38 PM
#1
splanchak avatar

splanchak

New Zenner

Join Date:
Jan 2010
Posts:
10
Plugin Contributions:
0

Can't centre my logo - FAQ instructions didn't work for me

Hi Everyone,

I'm new to Zen and CSS. I used the FAQ tutorial to try and replace the default logo with my own. It worked, except that the logo is floating right and it's supposed to be centred. I followed the instructions, but it isn't working.

My site is here:
http://www.clothdiaperkids.com/zen/index.php?main_page=index&cPath=1

And my code is this:
#logo, .centerBoxContents, .specialsListBoxContents, .categoryListBoxContents, .centerBoxContentsAlsoPurch, .attribImg {
float: left;
}

#logo {text-align: center;}

Also, how do I remove the pillar graphic behind my logo?

Help is much appreciated,

Stephanie

5 Jan 2010, 6:59 PM
#2
kobra avatar

kobra

Black Belt

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

Re: Can't centre my logo - FAQ instructions didn't work for me

Your image is 1025 px wide but you have set your mainWrapper to 1000px

Background image is in css at

#logoWrapper{
	background-image: url(../images/header_bg.jpg);
	background-repeat: repeat-x;
	background-color: #ffffff;
	height:75px;
	}
5 Jan 2010, 7:21 PM
#3
splanchak avatar

splanchak

New Zenner

Join Date:
Jan 2010
Posts:
10
Plugin Contributions:
0

Re: Can't centre my logo - FAQ instructions didn't work for me

Thank you thank you, I didn't realize that. I will try see if I can fix it....

also, I deleted a line of code by mistake and it messed up my home page. Could you tell me what it is so I can re-insert it?

// added defines for header alt and text
define('HEADER_ALT_TEXT', 'Cloth Diaper Kids [home link]');

define('HEADER_LOGO_WIDTH', '200px');
define('HEADER_LOGO_HEIGHT', '70px');
define('HEADER_LOGO_IMAGE', 'headers.png');

5 Jan 2010, 7:53 PM
#5
splanchak avatar

splanchak

New Zenner

Join Date:
Jan 2010
Posts:
10
Plugin Contributions:
0

Re: Can't centre my logo - FAQ instructions didn't work for me

thank you so much. Everything is working now :)