Zen Cart Logo

Center logo in IE

Locked

Views: 964

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
17 Feb 2007, 7:46 PM
#1
melm81 avatar

melm81

New Zenner

Join Date:
Feb 2006
Posts:
6
Plugin Contributions:
0

Center logo in IE

I need to center the logo when the cart summary is displayed. I also want to add a link to the shopping cart image.
http://melsgifts.com

18 Feb 2007, 4:26 AM
#2
rush_woman avatar

rush_woman

Zen Follower

Join Date:
Jan 2007
Location:
California
Posts:
328
Plugin Contributions:
0

Re: Center logo in IE

The logo centering would be in the Stylesheet for your template.

I changed mine like this:

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

I added the blue line to scootch my logo over. You could also use margin-left: I believe, then set the number. I tried both and found the padding to work the best for mine. Some commands will effect more than just the logo so check the whole page after you change it.

There is also a text-center command that is discussed in the ZC tutorial area. I did not try that though it might be helpful to read up on that info.

Here is a link to a quick stylesheet reference; might come in handy:
http://resources.bravenet.com/quickref/css/

BTW, a shopping cart image will automatically come up when something is in the cart. So, do you still need a link?

18 Feb 2007, 4:30 AM
#3
rush_woman avatar

rush_woman

Zen Follower

Join Date:
Jan 2007
Location:
California
Posts:
328
Plugin Contributions:
0

Re: Center logo in IE

Oh, I went to see if the shopping cart came up with a product, and got an error message:

Parse error: parse error, unexpected '<' in /hsphere/local/home/melm81/melsgifts.com/includes/templates/custom/templates/tpl_product_info_display.php on line 238

Thought you would like to know. :smile:

18 Feb 2007, 4:41 AM
#4
kobra avatar

kobra

Black Belt

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

Re: Center logo in IE

I need to center the logo when the cart summary is displayed. I also want to add a link to the shopping cart image.
Where do you have the car summary div inserted? what file etc as it seems that this is preventing the actual centering of the logo as it is taking space that is right aligned