Forums / Templates, Stylesheets, Page Layout / Adding a bg image to all pages

Adding a bg image to all pages

Locked

Views: 1,031

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
10 Aug 2008, 5:21 PM
#1
vito avatar

vito

Zen Follower

Join Date:
Mar 2006
Posts:
182
Plugin Contributions:
0

Adding a bg image to all pages

I have tried searching for this but still having problems.

I want to add a bg image to all pages in the site. I am working with a custom template in my CUSTOM folder. I have tried adding an image and linking to it via the includes/templates/CUSTOM/images/ folder, but still no luck. My stylesheet.css in my /CUSTOM/css/ folder reads

body {
margin: 0;
font-family: verdana, arial, helvetica, sans-serif;
font-size: 62.5%;
color: #000000;
background-image: url(..images/bg_sm.gif);

I also tried it with an absolute link

body {
margin: 0;
font-family: verdana, arial, helvetica, sans-serif;
font-size: 62.5%;
color: #000000;
background-image: url("http://bowbiz.ca/store/includes/template/CUSTOM/images/bg_sm.gif");

...and still no go.

Vito

10 Aug 2008, 9:00 PM
#2
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,684
Plugin Contributions:
0

Re: Adding a bg image to all pages

Your URL to the image is wrong - it should be ../images/YOUR_IMAGE.gif and the image should be in includes/templates/CUSTOM/images

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

11 Aug 2008, 12:13 AM
#3
vito avatar

vito

Zen Follower

Join Date:
Mar 2006
Posts:
182
Plugin Contributions:
0

Re: Adding a bg image to all pages

Thanks for the reply.
My css file (located in includes/templates/CUSTOM/css/) looks like this

#logoWrapper {
width:780px;
height:99px;
background-image: url(../images/bg_sm.gif);
background-repeat: repeat;
}

and I put the image bg_sm.gif into includes/templates/CUSTOM/images/.

Still no luck. :(

Vito