Posted: Thu Nov 12, 2009 4:30 pm Setting background image in template
Hello all,
So here's the deal. I am using a website template for my online store. I would like to be able to put images behind text on my product pages. I tried to use CSS using the following code:
body
{
background-image:url('http://i55.photobucket.com/albums/g122/landofzion/RockProWashout.jpg');
background-repeat:no-repeat;
}
However, when I use this code, the image does not show up. Do you think maybe the image is showing up behind the template?
I tried to work around this by adding this code directly to my product pages, but still nothing
Here is the image: http://i55.photobucket.com/albums/g122/landofzion/RockProWashout.jpg
Here is the product page I am trying to add it to: http://www.ringringmusic.com/Configuration-Friendly-Taye-RockPro-Drum-Sets-RP.htm
I just want it to sit behind the text on the right hand side of the page.
Advice?
PayneLess Designs
Joined: 28 Feb 2007
Posts: 4287
Location: MS
Posted: Thu Nov 12, 2009 6:18 pm
Just which of those many CSS files did you put the image background CSS? This one is for the theme and has the body tag in it:
Code: body
{
background: url('http://i55.photobucket.com/albums/g122/landofzion/RockProWashout.jpg')
no-repeat center scroll;
}
landofzion
Joined: 12 Nov 2009
Posts: 2
Posted: Fri Nov 13, 2009 1:55 pm
Nope still nothing.
Im not quite sure how to answer you question because I am using a template and most of the code has been done for me.
PayneLess Designs
Joined: 28 Feb 2007
Posts: 4287
Location: MS
Posted: Fri Nov 13, 2009 6:08 pm
Which part of the many CSS files did you put the background image on? It was NOT on the CSS I looked at that is the one for the theme you have.
OK. Found the CSS file: http://www.ringringmusic.com/advanced_2346184.css
Why you have so many when a few of them could be combined. On your pages where you have: Code: <link rel="stylesheet" href="/advanced_2346184.css" type="text/css"/>
Try putting in the complete path to CSS file: Code: <link rel="stylesheet" href="http://www.ringringmusic.com/advanced_2346184.css" type="text/css" />
Shouldn't matter, but just maybe.