![]() |
Insert Background Image Throughout Site
Please help! I have been reading the posts for 2 weeks now, and have been unsuccessful at every attempt to insert a background jpg for my site. I can't get it to appear anywhere!
I have inserted this language into skin1.CSS but do not know how to call it or where to place the command to call it. Do I have to call it from every single template? I want it to at least appear as the background of the home page and on the splash page. BODY { MARGIN-TOP: 0 px; MARGIN-BOTTOM: 0 px; MARGIN-LEFT: 0 px; MARGIN-RIGHT: 0 px; BACKGROUND-COLOR: #DFF5F2; BACKGROUND-IMAGE: skin1\bg-c.jpg } :( |
Re: Insert Background Image Throughout Site
You are using the wrong CSS format. The correct format for a background image is:
background: url(images/imagename.jpg) |
Re: Insert Background Image Throughout Site
Like this?
BODY { MARGIN-TOP: 0 px; MARGIN-BOTTOM: 0 px; MARGIN-LEFT: 0 px; MARGIN-RIGHT: 0 px; BACKGROUND-COLOR: #DFF5F2; BACKGROUND: mytiddies.com/xcart (images/bg-c.jpg) } |
Re: Insert Background Image Throughout Site
No, exactly as I showed it:
background: url(images/bg-c.jpg) |
Re: Insert Background Image Throughout Site
Wow - thanks! You are awesome!
:D |
Re: Insert Background Image Throughout Site
Balinor,
Can I ask you one more question? We have a splash page (temporarily) until I can figure out how to get the contents to appear on the home.php page. How do I get the background to appear in the splash page in the meantime? |
Re: Insert Background Image Throughout Site
Well, it isn't going to work the same, as the splash page is a static html page. You would need to either create a new stylesheet for the splash page, or include the code for the background image right in the body tag.
|
All times are GMT -8. The time now is 02:36 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.