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 / Screwed up banner, now can't get it to align

Screwed up banner, now can't get it to align

Started by mooseracing on 15 Jan 2012, 11:27 PM · Views: 634

Results 1 to 5 of 5
15 Jan 2012, 11:27 PM
#1
mooseracing avatar

mooseracing

New Zenner

Join Date:
Jan 2012
Posts:
9
Plugin Contributions:
0

Post #1 by mooseracing

I'm new to Zen cart and in information overload mode. I had the banner logo centered by making #logo on its own line in stylesheet.css

Now for some reason it isn't centered at all, I've read quite a few threads and modified the file way more than I probably needed to.

And for some reason Opera DragonFly isn't loading for me tonight making my little helper less useful.

smileysarmory.com

Ideas?

16 Jan 2012, 12:01 AM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Post #2 by stevesh

You want your text-align: center; in #logoWrapper rather than #logo.

16 Jan 2012, 12:56 AM
#3
mooseracing avatar

mooseracing

New Zenner

Join Date:
Jan 2012
Posts:
9
Plugin Contributions:
0

Post #3 by mooseracing

I am slightly confused, there isn't any center align in the #logo of stylesheets

I have:

#logo {
float: right;
}

#logoWrapper {
	padding-left: 20 px;
	text-align: center;
	}

I tried removing the float from #logo but that didn't change either.

16 Jan 2012, 2:25 AM
#4
rescoccc avatar

rescoccc

Totally Zenned

Join Date:
May 2010
Location:
WA State
Posts:
1,700
Plugin Contributions:
2

Post #4 by rescoccc

This is what appears in your stylesheet.css:

#logo, {
text-align: center;
padding-bottom: 200px;
}

#logoWrapper{
background-image: url(../images/header_bg.jpg);
background-repeat: repeat-x;
background-color: #ffffff;
height:75px;
}

You're editing the wrong stylesheet.

The best way to learn is to try stuff. But, back it up first.

16 Jan 2012, 1:39 PM
#5
mooseracing avatar

mooseracing

New Zenner

Join Date:
Jan 2012
Posts:
9
Plugin Contributions:
0

Post #5 by mooseracing

Makes me want to switch web hosts even more.

I thought that may be the problem and I opened the other stylesheet about 10 different times throughout the course of the day and it always opened blank.

MY FTP was also mostly down yesterday :frusty: