Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Centering Vivid Dreams tamplate

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 11-16-2010, 11:36 PM
 
chrisinoz chrisinoz is offline
 

eXpert
  
Join Date: Aug 2004
Location: Australia
Posts: 248
 

Default 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
__________________
Chris G
Humble web designer
Version 4.07 - 4.45
Reply With Quote
  #2  
Old 11-17-2010, 12:37 AM
 
chrisinoz chrisinoz is offline
 

eXpert
  
Join Date: Aug 2004
Location: Australia
Posts: 248
 

Default Re: Centering Vivid Dreams tamplate

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
Reply With Quote
  #3  
Old 11-17-2010, 12:51 AM
  pauldodman's Avatar 
pauldodman pauldodman is offline
 

X-Guru
  
Join Date: Jul 2003
Location: Spain / UK
Posts: 3,062
 

Default 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.
__________________
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.
Reply With Quote
  #4  
Old 12-22-2010, 07:30 PM
 
tom437 tom437 is offline
 

eXpert
  
Join Date: Feb 2010
Posts: 209
 

Default Re: Centering Vivid Dreams tamplate

Where in the css should I edit the re-size for the template?

Thank you
Tom
__________________
x cart 4.4.2
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


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

   

 
X-Cart forums © 2001-2020