Forums / Templates, Stylesheets, Page Layout / Background Image Not Displaying

Background Image Not Displaying

Results 1 to 5 of 5
13 Jul 2012, 05:15
#1
jhowe avatar

jhowe

New Zenner

Join Date:
Jul 2012
Posts:
16
Plugin Contributions:
0

Background Image Not Displaying

Hey guys, can't seem to figure this one out.

I've added a image to the background of my webpage and it isn't displaying. The website is:

http://www.banzaivapors.com/shop/

If you open up the styles tool in firefox or firebug, line 264 shows the correct path (cutting the line and putting it back in shows the real background) but when I FTP the stylesheet, the image doesn't appear. Can someone give me some insight into what I need to do to get it working? Thanks!
13 Jul 2012, 09:08
#2
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Posts:
10,324
Plugin Contributions:
0

Re: Background Image Not Displaying

background-image:url(../images/gunmetal_background.jpg);
13 Jul 2012, 17:38
#3
jhowe avatar

jhowe

New Zenner

Join Date:
Jul 2012
Posts:
16
Plugin Contributions:
0

Re: Background Image Not Displaying

Thanks for the reply. I've changed the URL to the one written above; still no change. If you copy the original path in firefox,

includes/templates/banzai_template/images/gunmetal_background.jpg

and put that into the URL section, it works again. Not sure if there's a property I need to change in my admin or what's going on. All insight is appreciated.
13 Jul 2012, 17:41
#4
jhowe avatar

jhowe

New Zenner

Join Date:
Jul 2012
Posts:
16
Plugin Contributions:
0

Re: Background Image Not Displaying

Scratch that it worked! Thanks a lot schoolboy.
14 Jul 2012, 09:19
#5
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Posts:
10,324
Plugin Contributions:
0

Re: Background Image Not Displaying

You need to go do some tutorials on how to structure the html for relative paths...