HTML Help Forum HTML Help
Please Search for the answer to your question before asking it! Thanks.
 

Setting background image in template
Post a Reply to this Topic Ask a New Question
Click here to go to the original topic
       HTML Help Forum -> General HTML
View previous topic :: View next topic  
Author Message
landofzion



Joined: 12 Nov 2009
Posts: 2

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:

http://www.ringringmusic.com/qsctemplates/theme428/theme.css

Try...

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.

There are 11 CSS Errors.

Over 363 HTML Errors.

These HTML errors are for just the main page.
 
 
DARFUR
HOSTING / DESIGN
MAKE MONEY

       HTML Help Forum -> General HTML
Page 1 of 1


Powered by phpBB Search Engine Indexer
Powered by phpBB 2.0.19 © 2001, 2002 phpBB Group