![]() |
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!
|
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. |
Re: Change width, center site & change background color
Does this show my sig now?
|
Re: Change width, center site & change background color
Yep, just add the .0 at the end of it - 4.2.0
|
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! |
Re: Change width, center site & change background color
Try also
Code:
body{text-align:center} |
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... |
Re: Change width, center site & change background color
possibly you have unclosed div in your header.
|
Re: Change width, center site & change background color
haven't touched the header? I started from scratch on a new store..
|
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. |
All times are GMT -8. The time now is 01:44 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.