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)
-   -   Changing background color (https://forum.x-cart.com/showthread.php?t=43991)

swifty1 12-02-2008 12:32 AM

Changing background color
 
One quick question How do you change the background colour that is outside of your page templates ie. as is the outer colour red to the left and right of the following web site http://www.gleniboutique.com/.

Victor D 12-02-2008 12:42 AM

Re: changing template
 
In skin1.css
HTML Code:


HTML, BODY{
background: #a5070d url(images/mybg.gif) left top repeat-x;
}
TABLE.Container{
background-color: #fff;
}

if there is no need to attach image
HTML Code:


HTML, BODY{
background-color: #a5070d;
}
TABLE.Container{
background-color: #fff;
}

also there are two gradients by the table side
you may need to add two extra rows wrapping TD.Container in rectangle_top.tpl for them
(and not to forget to close them in rectangle_bottom.tpl)

swifty1 12-02-2008 03:21 AM

Re: changing template
 
Thanks Victor i have a left and right gradient border on my site but are unable to find these in skin1.css, are these at the top of skin1.css and what terminology do they go by as i have changed colours of various settings but unable to find they side gradients.

balinor 12-02-2008 03:26 AM

Re: Skin edit
 
Please try not to jump on someone else's thread with your questions. Moving this to its own thread.

Victor D 12-02-2008 04:19 AM

Re: Changing background color
 
Gradient is an image. So you should search for "background" or "background-image" in your CSS.
If you have your skin modified there is possibly additional CSS included.

If you provide me an URL of your store the conersation would be more concrete.

ScanoGraphics.com 01-13-2009 11:56 AM

Re: changing template
 
Quote:

Originally Posted by Victor D
In skin1.css
HTML Code:


HTML, BODY{
background: #a5070d url(images/mybg.gif) left top repeat-x;



I tried that and I also tried background-image but no background image is appearing, anybody who can help me out?

gb2world 01-14-2009 08:14 AM

Re: Changing background color
 
I think Victor is right. This is in your css file - it is after the initial styles defined for your body at the top:
BODY {
background-image:url(images/custom/bg.gif);
background-repeat:repeat-y;
background-position:top;
background-color:#5a070d;
}

Victor D 01-14-2009 09:15 AM

Re: Changing background color
 
Did you try this on version that is written in your signature or 4.2.0?
In what directory you uploaded image?

gb2world 01-14-2009 11:19 AM

Re: Changing background color
 
Hi Victor -

I think the problem is that their css files defines style for the body three times and they may be updating the first one, then it gets overridden by third one.

Warwick 01-15-2009 12:25 AM

Re: Changing background color
 
1 Attachment(s)
You have lost me, I'm trying to get the Table container less wide, with that I succeed, but it also needs to be centered, no success with that, only left alignment. And I would like to get a background image showing. Attached you'll find my css, any help is appreciated, I'm lost ...


All times are GMT -8. The time now is 12:00 AM.

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