X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Center Logo and Page (https://forum.x-cart.com/showthread.php?t=33632)

blueblaze 09-01-2007 11:38 PM

Center Logo and Page
 
Hello,

I am just setting up my store. I have replaced the x-cart logo with my own, yet to resize it. I am trying to find a way to center it on the page.

I also want to reduce the page size to 90%, I think I can do that, and also I am trying to center the whole page rather than have it aligned to the left.

Sorry about the extreme newbie questions.

Many thanks.

balinor 09-03-2007 04:03 AM

Re: Center Logo and Page
 
If you have a look at the Template Editing Guide, you'll see that rectangle_top.tpl controls the width and position of your site. I usually get rid of the wrapper table and turn it into a <div>, and then you can use CSS to style the container. If you stick with the table, you simply change the width and add a center tag to it. The logo is in head.tpl, which contains a bunch of nested tables you'll need to remove in order to get it centered.

blueblaze 09-03-2007 11:05 AM

Re: Center Logo and Page
 
Thankyou Padraic,

Much appreciated.


All times are GMT -8. The time now is 01:43 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.