| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Change width, center site & change background color | ||||
|
|
Thread Tools | Search this Thread |
#11
|
|||||||
|
|||||||
Re: Change width, center site & change background color
Hi Tobias, could you please take a moment to update your signature with your X-Cart version? Thanks!
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#12
|
|||||||||
|
|||||||||
Re: Change width, center site & change background color
this is the CSS for centering the whole site.
#page-container { min-height: 100%; position: relative; width:975px; margin:0 auto 0 auto; } it works just tested.
__________________
xcart 5.1.2 |
|||||||||
|
#13
|
|||||||||
|
|||||||||
Re: Change width, center site & change background color
Does this show my sig now?
__________________
X-Cart 4.2 |
|||||||||
#14
|
|||||||
|
|||||||
Re: Change width, center site & change background color
Yep, just add the .0 at the end of it - 4.2.0
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#15
|
|||||||
|
|||||||
Re: Change width, center site & change background color
Hi,
I tried this: #page-container { min-height: 100%; position: relative; width:975px; margin:0 auto 0 auto; } It adjusted the width, but the site is still not centered. Any further insight anyone can offer is greatly appreciated. Thanks!
__________________
X-Cart Versions: 4.1.10 and 4.2.0 |
|||||||
#16
|
|||||||||
|
|||||||||
Re: Change width, center site & change background color
Try also
Code:
__________________
Regards, Victor Dubiniuk X-Cart Skins Store - twenty two different skins for 4.1.x and 4.2.x; - 4.3.x compatible versions are available; - refresh you store now! Smart menu X-Cart add-on for 4.1.8 - 4.3.x Featured Products Slide Show X-Cart add-on for 4.1.8 - 4.3.x |
|||||||||
#17
|
|||||||
|
|||||||
Re: Change width, center site & change background color
Using x-cart 4.2.x... having similar issues. Mine will center just fine, but the header of the page will come down and overlay the page content.
Any ideas? This is frustrating...
__________________
X-Cart 4.1.X, LiteCommerce2.2 |
|||||||
#18
|
|||||||||
|
|||||||||
Re: Change width, center site & change background color
possibly you have unclosed div in your header.
__________________
Regards, Victor Dubiniuk X-Cart Skins Store - twenty two different skins for 4.1.x and 4.2.x; - 4.3.x compatible versions are available; - refresh you store now! Smart menu X-Cart add-on for 4.1.8 - 4.3.x Featured Products Slide Show X-Cart add-on for 4.1.8 - 4.3.x |
|||||||||
#19
|
|||||||
|
|||||||
Re: Change width, center site & change background color
haven't touched the header? I started from scratch on a new store..
__________________
X-Cart 4.1.X, LiteCommerce2.2 |
|||||||
#20
|
|||||||
|
|||||||
Re: Change width, center site & change background color
interesting. Just re-loaded main.css and it went away.
By the way, the fix described above should work to center the page; post your complete code for the 2 .css rules #page-container and #content-container please.
__________________
X-Cart 4.1.X, LiteCommerce2.2 |
|||||||
|
|||
X-Cart forums © 2001-2020
|