Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS changing full page background image in sub pages Re: changing full page background image in sub pages

#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 put

body#home {
background-image: url(…123.jpg);
}

body#contact {
background-image: url(…XYZ.jpg);
}

I think you get the idea.