Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Cascading background colour

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 09-05-2009, 01:31 AM
 
ingve ingve is offline
 

Member
  
Join Date: Mar 2008
Posts: 18
 

Default 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?
__________________
X-cart 4.1.8

http://www.shop-buyaclass.com
Reply With Quote
  #2  
Old 09-05-2009, 01:38 AM
  amy2203's Avatar 
amy2203 amy2203 is offline
 

X-Wizard
  
Join Date: Jul 2004
Location: Watford, UK
Posts: 1,509
 

Default Re: Cascading background colour

that's a graphic image

http://www.hispasonic.com/sites/default/themes/hispasonicderecha/images/fondo2.png
__________________
X-Cart version 5 (Previously 3.5-4)

Previous Versions included
BCSE Reward Points Mod
Altered Cart On Sale Mod
Wordpress Plugin

Please don't PM me for support. I help where I can on the forum and your question will more likely be answered there.

Shout me a Coffee!
Reply With Quote
  #3  
Old 09-05-2009, 02:42 AM
 
Shamun Shamun is offline
 

X-Adept
  
Join Date: Jun 2009
Location: North Carolina
Posts: 841
 

Default Re: Cascading background colour

Just be sure to set the page background color to the lowest color else it'll look weird.
__________________
- Shane Munroe
Reply With Quote
  #4  
Old 09-05-2009, 12:05 PM
 
ingve ingve is offline
 

Member
  
Join Date: Mar 2008
Posts: 18
 

Default Re: Cascading background colour

Thanks!
__________________
X-cart 4.1.8

http://www.shop-buyaclass.com
Reply With Quote
  #5  
Old 09-05-2009, 10:30 PM
 
ingve ingve is offline
 

Member
  
Join Date: Mar 2008
Posts: 18
 

Default 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?
__________________
X-cart 4.1.8

http://www.shop-buyaclass.com
Reply With Quote
  #6  
Old 09-05-2009, 11:34 PM
 
Shamun Shamun is offline
 

X-Adept
  
Join Date: Jun 2009
Location: North Carolina
Posts: 841
 

Default 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.
__________________
- Shane Munroe
Reply With Quote
  #7  
Old 09-05-2009, 11:49 PM
 
ingve ingve is offline
 

Member
  
Join Date: Mar 2008
Posts: 18
 

Default Re: Cascading background colour

Thanks,

You are a friendly helpful hero!
__________________
X-cart 4.1.8

http://www.shop-buyaclass.com
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 07:54 PM.

   

 
X-Cart forums © 2001-2020