sassybites
Posts : 38
Join date : 2009-05-08
Location : Arizona
|
Subject: Can't Change Background - Help Please Thu May 28, 2009 5:30 am |
|
|
How do I change the main background? Not the main shell that runs down the middle of the page, but the main background that runs across the whole page behind everything. I can change the color but what I need to do is pull in a graphic off my domain.
|
|
felidae52
Posts : 96
Join date : 2009-04-24
Age : 72
Location : The WWW
|
|
sassybites
Posts : 38
Join date : 2009-05-08
Location : Arizona
|
|
felidae52
Posts : 96
Join date : 2009-04-24
Age : 72
Location : The WWW
|
Subject: Re: Can't Change Background - Help Please Thu May 28, 2009 6:58 am |
|
|
- sassybites wrote:
- felidae52 wrote:
- In your style (CSS) find this:
- Code:
-
#mainShell { width:100%; background-color:#<z:color name="PageBackground" />; padding-bottom:40px; /* add main background image here, if desired:[/color] background-image:url(); [color=red]*/[/color] } Insert your image url and remove the comment markers (/*) Validate & Save
Hilly I'm getting parsing errors no matter which way I try it. Sorry in the above code where some bits left from when I tried to color the "removable" bit red and it wouldn´t take . This is the "proper" code: - Code:
-
#mainShell { width:100%; background-color:#<z:color name="PageBackground" />; padding-bottom:40px; /* add main background image here, if desired: background-image:url(ADD YOUR IMAGE URL HERE); */ } You have to remove this /* add main background image here, if desired:, and the closing comment marker */.
This is what I use in my shops:
- Code:
-
#mainShell { width:100%; background-color:#<z:color name="PageBackground" />; padding-bottom:40px; background-image:url(http://www.myimage.jpg); }
The last time I had a recurring parsing error I had one - Code:
-
</div> too many - took me hrs to find out without being able to scream "GAVIN!"
Hilly
Last edited by felidae52 on Thu May 28, 2009 11:18 pm; edited 1 time in total
|
|
sassybites
Posts : 38
Join date : 2009-05-08
Location : Arizona
|
Subject: Re: Can't Change Background - Help Please Thu May 28, 2009 7:01 am |
|
|
It worked! Thank you so much Hilly! It's 6:am here and I've been working this code all night. I need to go feed the cats and get some sleep. LOL
|
|
The Crew Designs
Admin
Posts : 253
Join date : 2009-04-23
Age : 54
Location : North East England
|
Subject: Re: Can't Change Background - Help Please Thu May 28, 2009 2:59 pm |
|
|
Yeah thanks hilly, handy to know........
|
|
Sponsored content
|
Subject: Re: Can't Change Background - Help Please |
|
|
|
|