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)
-   -   Centering Vivid Dreams tamplate (https://forum.x-cart.com/showthread.php?t=56611)

chrisinoz 11-16-2010 11:36 PM

Centering Vivid Dreams tamplate
 
Hi

I changed the main.css file and got it to a fixed width but I can't get the template to center in the page.

I thought this would have worked

#page-container {
min-height: 100%;
position: relative;
width:980px;
margin-left: auto ;
margin-right: auto ;
}

Ideas anyone?

Latest version 4.4.1

Thanks

chrisinoz 11-17-2010 12:37 AM

Re: Centering Vivid Dreams tamplate
 
I also tried

#page-container {
min-height: 100%;
position: relative;
width:980px;
margin:0 auto;}

pauldodman 11-17-2010 12:51 AM

Re: Centering Vivid Dreams tamplate
 
Right idea! Wrong location! Welcome to the crazy mixed up world of v4.4 template structure and css.
You need to alter the altskin.css file in the actual folder for your vivid dreams template - that has it's own page container class, which is over-riding the one in main.css.

tom437 12-22-2010 07:30 PM

Re: Centering Vivid Dreams tamplate
 
Where in the css should I edit the re-size for the template?

Thank you
Tom


All times are GMT -8. The time now is 04:35 AM.

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