Forums / Templates, Stylesheets, Page Layout / logo not aligning to center

logo not aligning to center

Locked

Views: 1,362

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
30 Dec 2007, 6:03 AM
#1
pearljamgurl avatar

pearljamgurl

New Zenner

Join Date:
Dec 2007
Posts:
15
Plugin Contributions:
0

logo not aligning to center

i cant get my logo to align center. i looked at the tutorial..followed all directions. didnt work. i sorted through the forum...cant find anything to help. someone help?

sites located at
curvygalsclothing.com/shop

30 Dec 2007, 8:42 AM
#2
kobra avatar

kobra

Black Belt

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

Re: logo not aligning to center

Looked and you seem to have found the solution...

#logo {text-align: center;}

Zen-Venom Get Bitten

30 Dec 2007, 8:48 PM
#3
pearljamgurl avatar

pearljamgurl

New Zenner

Join Date:
Dec 2007
Posts:
15
Plugin Contributions:
0

Re: logo not aligning to center

Yes, i did. I tried adding the same code..minus the #logo...to the tag right above it too. thats the only way i could get it to work. just adding #logo {text-align: center;} didnt work for me. needed it in two places

30 Dec 2007, 9:07 PM
#4
barco57 avatar

barco57

Totally Zenned

Join Date:
Apr 2006
Location:
West Salem, IL
Posts:
2,846
Plugin Contributions:
0

Re: logo not aligning to center

Why are you calling the background image like this?

background-image: url(http://www.curvygalsclothing.com/images/pink-dots_5.jpg);

The image should be place in your custom templates image directory and be called like this following:```
background-image: url(../images/pink-dots_5.jpg);


Image calls in the stylesheet should be relative to the stylesheets location in the directory tree.

Mike
AEIIA - Zen Cart Certified & PCI Compliant Hosting
The Zen Cart Forum...Better than a monitor covered with post-it notes!