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

Center the store

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 08-12-2010, 08:50 AM
 
gotpump gotpump is offline
 

eXpert
  
Join Date: Aug 2008
Posts: 272
 

Default Center the store

How do I center my page now? I have changed my width to 960px but I cannot seem to get it to align middle.

Any help?

Code:
html,body { height: 100%; width: 960px; background-color: #ffffff; margin: 0px; padding: 0px; font-family: verdana, arial, helvetica, sans-serif; font-size: 11px; min-width: 780px; border: 0px none;

The only way I have been able to do it is by adding padding-left: 80px;

But there must be a better way I'm super new to css

Also when I do this my speed bar seems to get all crammed up even though it is not taking up the entire bar. How do I make the speed bar go all the way across the bar?

And the bottom of the page where the copyright and poweredby is needs to line up.

page: http://www.helphispaniola.org

We are testing x-cart on this domain for a relaunch of our hot tub store. We will be paying someone to do the design but I would like it to look correct while we are testing.

Thanks so much for all your help.
__________________
X-Cart DB Version: 5
Reply With Quote
  #2  
Old 08-12-2010, 08:51 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default Re: Center the store

add
margin: 0 auto;
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #3  
Old 08-12-2010, 09:07 AM
 
gotpump gotpump is offline
 

eXpert
  
Join Date: Aug 2008
Posts: 272
 

Default Re: Center the store

Perfect! Thank you!

I am still having an issue with some of the txt in product details.

If you view the site in 1024x768

This page is an example



The txt is being pushed right over the boarders. Is there a way to make this auto fit all resolution settings or at least most?
__________________
X-Cart DB Version: 5
Reply With Quote
  #4  
Old 08-12-2010, 09:21 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default Re: Center the store

you have to look at the way you put this in there. if you specified width for their containers and that width doesn't fir in the container width it will get pushed over
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #5  
Old 08-12-2010, 06:39 PM
 
gotpump gotpump is offline
 

eXpert
  
Join Date: Aug 2008
Posts: 272
 

Default Re: Center the store

oh ok I thought maybe there was a way to shrink it down without adjusting every page that is out. Is there anyway to extend the speed bar all the way across the top?
__________________
X-Cart DB Version: 5
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 11:01 AM.

   

 
X-Cart forums © 2001-2020