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)
-   -   Background Color (https://forum.x-cart.com/showthread.php?t=40035)

merbay 05-26-2008 08:04 AM

Background Color
 
I set my width to 950px. I want my site info in center with white background and have a different color background on the sides. Help please!

(am using default skin)

Rajdeep 05-27-2008 06:17 AM

Re: Background Color
 
Please correct your signature, read post by "Balinor" on this....


Use the css file to change the colors to your choice....

If you are speaking of centering the view of your site pages, modify the home.tpl with the "center" command....

balinor 05-27-2008 06:35 AM

Re: Background Color
 
The easiest (and W3C compliant way) to center your site is to create a 'container' <div> like this:

<div class="container">

And then put this in your CSS file:

.container {margin: 0 auto; width: 950px;}

You'd then add the background color to the .body class which would fill in the sides next to the centered 'box'.

rajdeep, what is wrong with their signature? The full X-Cart version is there?

Rajdeep 05-28-2008 02:16 AM

Re: Background Color
 
Balinor,
What I meant by full signature was also to include "Gold" or "Pro" etc. in addition to the mentioned version .....


All times are GMT -8. The time now is 05:39 PM.

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