Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Atahualpa 3 Wordpress theme (http://forum.bytesforall.com/forumdisplay.php?f=2)
-   -   Different Page, different background (http://forum.bytesforall.com/showthread.php?t=3615)

peteranti Sep 27, 2009 07:45 AM

Different Page, different background
Good afternoon,
I would like to know how to have a different body background for one of the pages on my site, from the main page.

And with body I mean the place where the posts normally go on the main page (I think it's called the loop?). For example I have a body color of #eeeeee on the main page and want to have a body color of #414141 on the Gallery page (so that it matches with the border)

Thank you :)

Flynn Sep 27, 2009 09:21 AM

Look into the source code of of a browser-rendered page to see which classes the body gets on this particular page:

<body class="page page-id-21 page-template page-template-default logged-in">

Then use a CSS Insert, e.g

body.page-id-21 td.middle {
background: #414141;

All times are GMT -6. The time now is 11:53 PM.

Powered by vBulletin® Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.