PDA

View Full Version : Backgroun customization


TonyStewart
Dec-11-2008, 08:17 AM
Hi chaps

I would like to have a background on my home page which is on my site here:

http://anthonyjstewart.smugmug.com/photos/434701286_ApvB6-L.jpg

I have checked some of the solutions but I think they are all slightly different.

This is a recurring image so would need to repeat.

How do I get this on my home page and/or all pages.

Much appreciated.

dsmirk
Dec-11-2008, 03:19 PM
Hi Tony,

Put the following under your customized CSS codes. Hope it helps. :D

body {
background: #3a3039 url(http://anthonyjstewart.smugmug.com/photos/434701286_ApvB6-L.jpg) center center;
}

TonyStewart
Dec-12-2008, 07:12 PM
Hi there

No that didn't seem to work. I would need the pattern repeated to cover the entire screen. So perhaps that is just showing it the one time and being overwritten by the page content?

T

jfriend
Dec-12-2008, 07:39 PM
Hi there

No that didn't seem to work. I would need the pattern repeated to cover the entire screen. So perhaps that is just showing it the one time and being overwritten by the page content?

T
To change the homepage, categories and galleries to this background, remove your body.homepage background stuff and add this:

body.homepage, body.tempClass, body.tempClass2, #bodyWrapper {
background: url(http://anthonyjstewart.smugmug.com/photos/434701286_ApvB6-L.jpg) repeat !important;
}

/* category view */
#category .boxBottom {background:none !important;}

/* smugmug photo view */
#smugmug #photos {background:none !important;}

TonyStewart
Dec-13-2008, 03:00 PM
Thaanks a lot, will give that a go on Sunday.