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

Making fluid default theme fixed width and centered?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 02-04-2010, 11:15 AM
 
dwpers dwpers is offline
 

Senior Member
  
Join Date: Aug 2009
Location: Washington D.C.
Posts: 136
 

Default Making fluid default theme fixed width and centered?

Hi,

I'm trying to see if making my site from a fluid design to a fixed width will help with my long product names almost running into each other, as well as my product displays getting cutoff for lower screen resolutions.

If I wanted to make my site centered and a fixed width, say 960px wide (I love the 960.gs framework look), how would I go about doing this?

My site is here: http://www.royalepro.com

My goal is to get it 960px wide, centered, and have my products not look like the titles are running into each other almost. I'm also debating on having a tab menu in the green divider under the logo where the search bar used to be (now relocated under the speed bar).

You guys have been very helpful thus far, I appreciate it, thanks!

EDIT: I should probably also state that I've been using Firebug to try to see how to do this, but I'm getting the menu's on the left and right overlapping because they're floating divs.
__________________
X-Cart Pro 4.2.2
Reply With Quote
  #2  
Old 02-04-2010, 11:10 PM
  pauldodman's Avatar 
pauldodman pauldodman is offline
 

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

Default Re: Making fluid default theme fixed width and centered?

To change it from full width to fixed, edit skin1/main.css

Look for:
#page-container {
min-height: 100%;
position: relative;
}

and change it to:

#page-container { margin: 10pt auto 0; position: relative; width: 960px; min-height: 100% }
__________________
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

The following user thanks pauldodman for this useful post:
dwpers (02-05-2010)
  #3  
Old 02-05-2010, 05:25 AM
 
dwpers dwpers is offline
 

Senior Member
  
Join Date: Aug 2009
Location: Washington D.C.
Posts: 136
 

Default Re: Making fluid default theme fixed width and centered?

Thank you pauldodman
__________________
X-Cart Pro 4.2.2
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 12:30 PM.

   

 
X-Cart forums © 2001-2020