| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Centering Vivid Dreams tamplate | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() 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
__________________
Chris G Humble web designer Version 4.07 - 4.45 |
|||||||
#2
|
|||||||
|
|||||||
![]() I also tried
#page-container { min-height: 100%; position: relative; width:980px; margin:0 auto;}
__________________
Chris G Humble web designer Version 4.07 - 4.45 |
|||||||
#3
|
|||||||||
|
|||||||||
![]() 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.
__________________
Paul Dodman e-business & m-commerce consultant w: www.luminointernet.com e: xcart@luminointernet.com Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart. |
|||||||||
#4
|
|||||||
|
|||||||
![]() Where in the css should I edit the re-size for the template?
Thank you Tom
__________________
x cart 4.4.2 |
|||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|