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

Define page width and Center

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 08-10-2009, 01:21 PM
 
Natures Elements Natures Elements is offline
 

Member
  
Join Date: Aug 2009
Location: Lindenhurst, NY
Posts: 19
 

Default Define page width and Center

Hello,

Anyone have instructions on how to define the sites width and center it?

Thank you,
Michelle
http://www.natureselements.net
__________________
--
Thank you,
Michelle
Natures Elements, Inc.
http:www.natureselements.net
X-cart Version: 4.2
Reply With Quote
  #2  
Old 08-10-2009, 01:44 PM
 
Shamun Shamun is offline
 

X-Adept
  
Join Date: Jun 2009
Location: North Carolina
Posts: 841
 

Default Re: Define page width and Center

skin1/skin1.conf
Set width to whatever you want.

In your css file:

#pagecontainer {
margin-left: 50%
margin-right: -50%
}


You already have the container, so just add the margins.
This is just a dirty fix and it should actually be auto but that'll work for your needs atm.
__________________
- Shane Munroe
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



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 03:21 PM.

   

 
X-Cart forums © 2001-2020