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)
-   -   Width of Site (https://forum.x-cart.com/showthread.php?t=41203)

RandyK 07-18-2008 06:55 AM

Width of Site
 
I want to set the width of my site to 960 px. The following is the area I believe to set it in:

TABLE.Container {
HEIGHT: 100%;
BACKGROUND-IMAGE: url(images/custom/site_bg.gif);
BACKGROUND-REPEAT: no-repeat;
}

I'm not having any success. What suggestions do you have that I should try? Thank you.

balinor 07-18-2008 07:01 AM

Re: Width of Site
 
add:

width: 960px;

To the above class.

RandyK 07-18-2008 12:41 PM

Re: Width of Site
 
Thank you. I now have the width set and site centered. I am trying to change the outer sides to a different background color by manipulating the following:

HTML,BODY {
HEIGHT: 100%;
MARGIN: 0px;
PADDING: 0px;
BACKGROUND-COLOR: #ffffff;
}

However, when I change the color code it changes the sides as well as the background of my welcome message. How can we code it so it only changes the background color of the right and left sides?

balinor 07-18-2008 12:45 PM

Re: Width of Site
 
Make sure you have a background-color specified for the container so the far background doesn't show through.


All times are GMT -8. The time now is 02:08 AM.

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