...

Logo align center in zencart:

By default, the logo is left aligned. Changing the alignment involves making a modification to your includes/templates/CUSTOM/css/stylesheet.css. Open the file and find the following:

logo

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

Since this is a collection of several “selectors” (#logo, .centerBoxContents, etc) and in order not to interfere with the layout of other sections, split this into two separate statements and create a new selector/definition below it, like this:

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

#logo {float: left;}

To center it use text-align: center; or to align it to the right use float: right;

Make the needed changes, save the file to includes/templates/CUSTOM/css/stylesheet.css and upload to your server.

NB: When you edit the file be careful because all are php file. If any code/word deleted all website will be mess. It may happen for your careless.

Related Posts

How to use your customize PayPal button?

How to use your customize PayPal button?

PayPal button Customization: PayPal button ! you can change the default one first login to your paypal account then click the “Merchant Services” Now  click “Buy Now” button. Now click Customize text or appearance(optional) here and you will see a button named “Use...

read more
Add links to the NavMain Menu in Zen Cart?

Add links to the NavMain Menu in Zen Cart?

Add Links: Add links to the Home Nav Main menu is set to the Zen Cart store front. There are occasions when you may wish to alter this behavior. For example, if your online store is in a sub directory of your main website, you might be looking to set Home to link to...

read more
Seraphinite AcceleratorOptimized by Seraphinite Accelerator
Turns on site high speed to be attractive for people and search engines.