View Single Post
  #2  
Old 11-09-2013, 06:45 PM
  totaltec's Avatar 
totaltec totaltec is offline
 

X-Guru
  
Join Date: Jan 2007
Location: Louisville, KY USA
Posts: 5,823
 

Default Re: Adding background image

This simple question could easily open a whole can of worms.

Really depends on what skin you are using, and what you want the background image to do (repeat, stretch, center, etc.).

Lets say you are using ideal_comfort, and you want a repeating background image.

Code:
html, body{ background: #4fd6f0 url(http://www.freeimagehosting.net/newuploads/lgqjd.jpg) center top; }
This code also sets the background color.

I made you a quick playground where you can experiment: http://jsfiddle.net/JE3E8/1/
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey

XcartGuru
X-cart Tutorials | X-cart 5 Tutorials

Check out the responsive template for X-cart.
Reply With Quote