Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / Customizing the Look of Your Shop / Templates, Stylesheets, Page Layout / I am at my wits end!!! (and I'm just trying to center a freakin header image)

I am at my wits end!!! (and I'm just trying to center a freakin header image)

Locked
This thread is locked. New replies are disabled.
22 Jun 2009, 4:30 PM
#1
nappyjim avatar

nappyjim

New Zenner

Join Date:
Jun 2009
Posts:
8
Plugin Contributions:
0

Post #1 by nappyjim

I am a newb here and yes, I have searched. The problem is, I seem to find 5 different ways of doing the same thing and I try them all and I get nowhere and just get more frustrated!!!

I'm not a web designer by trade but am trying to wear many hats here. I am trying to get my zencart to mimic the basic outline of my website so I figure I will start from the top down, so first thing I need is getting my header centered and removing the zencart ad that is floating on top of it.

Here is how my site looks right now:
http://shamrockstructures.com/store/

Here is my stylesheet css:
http://nappyjim.com/stylesheet.css

Here is my header.php:
http://nappyjim.com/header.php

(I just hosted them on a different site for easy download, I have the original files in the correct locations)

It seemed like when I edited my stylesheet and told the logo to flaot right, it moved the zencart ad to the far right of MY logo.

22 Jun 2009, 5:36 PM
#2
nappyjim avatar

nappyjim

New Zenner

Join Date:
Jun 2009
Posts:
8
Plugin Contributions:
0

Post #2 by nappyjim

Ok, I got the zencart ad gone by going into the header.php and using that as my business banner.

But I still cant get it centered on the page. According to the tutorial, here is what I edited in my stylesheet.css.

.centerBoxContents, .specialsListBoxContents, .categoryListBoxContents, .centerBoxContentsAlsoPurch, .attribImg {float: left;}

#logo {text-align: center;}
22 Jun 2009, 5:47 PM
#3
kobra avatar

kobra

Black Belt

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

Post #3 by kobra

Find the following entry and adjust to resemble this

#logoWrapper {
	width:100%;
	background-image:url(../images/sslogo.gif);
	background-repeat:no-repeat;
	background-color: #FFF;
}

Zen-Venom Get Bitten

22 Jun 2009, 7:06 PM
#4
nappyjim avatar

nappyjim

New Zenner

Join Date:
Jun 2009
Posts:
8
Plugin Contributions:
0

Post #4 by nappyjim

Success! Thanks Cobra. Why is that 100% thing not listed in the tutorial(s)? Everyone I saw said the change the values according to the size of your image.

22 Jun 2009, 7:45 PM
#5
kobra avatar

kobra

Black Belt

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

Post #5 by kobra

Everyone I saw said the change the values according to the size of your image.
On the #logo entry not the wrapper and you might not need to 100% at all but you had restrictive values for yours

Zen-Venom Get Bitten