Home › Forums › CSS › changing full page background image in sub pages › Re: changing full page background image in sub pages
June 11, 2013 at 7:58 am
#138307
Paulie_D
Member
There are a couple of ways to do this depending on how you are creating the pages.
The simplest is to give each page `
` a separate ID (or class if you want) and the address them separately in your CSS sheet.Say you just had two pages Home & Contact
You would add an ID to each like `
` and `` then in your CSS sheet you can putbody#home {
background-image: url(…123.jpg);
}
body#contact {
background-image: url(…XYZ.jpg);
}
I think you get the idea.