X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Center the store (https://forum.x-cart.com/showthread.php?t=55039)

gotpump 08-12-2010 08:50 AM

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.

cflsystems 08-12-2010 08:51 AM

Re: Center the store
 
add
margin: 0 auto;

gotpump 08-12-2010 09:07 AM

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?

cflsystems 08-12-2010 09:21 AM

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

gotpump 08-12-2010 06:39 PM

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?


All times are GMT -8. The time now is 02:55 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.