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

ingve 09-05-2009 01:31 AM

Cascading background colour
 
I am trying to find a code that will allow me a background coulur starting dark on top, and then fading out to white. Like you can see it in the background of this site:

http://www.hispasonic.com/

Any ideas?

amy2203 09-05-2009 01:38 AM

Re: Cascading background colour
 
that's a graphic image

http://www.hispasonic.com/sites/default/themes/hispasonicderecha/images/fondo2.png

Shamun 09-05-2009 02:42 AM

Re: Cascading background colour
 
Just be sure to set the page background color to the lowest color else it'll look weird.

ingve 09-05-2009 12:05 PM

Re: Cascading background colour
 
Thanks!

ingve 09-05-2009 10:30 PM

Re: Cascading background colour
 
I created a graphic similar to the one on hispasonic. placed it in the image folder, and added it to the background. But somehow it repeates.

You can see here:
shop-buyaclass.com

Any idea where/how to stop this repeat?

Shamun 09-05-2009 11:34 PM

Re: Cascading background colour
 
background-repeat: repeat-x;

Put that in your html,body css div. Also, use some image program and find the bottom color of the image and set it as the background color.

ingve 09-05-2009 11:49 PM

Re: Cascading background colour
 
Thanks,

You are a friendly helpful hero!


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

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