Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme »

Different Page, different background


  #1  
Old Sep 27, 2009, 06:45 AM
peteranti
 
1 posts · Sep 2009
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
  #2  
Old Sep 27, 2009, 08:21 AM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
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;
}

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Off page background rosetrees Atahualpa 3 Wordpress theme 4 Oct 17, 2012 01:13 PM
Background image for page menu? blueprairie Page & Category Menu Bars 10 Dec 1, 2009 10:02 PM
[SOLVED] Different background per page id AJKock Header configuration & styling 2 Sep 23, 2009 03:10 AM
Page Menu background stephiemarie78 Page & Category Menu Bars 2 Jul 22, 2009 09:31 PM
Changing repeated background image forces each page to reload background doctorrobert Atahualpa 3 Wordpress theme 8 Feb 15, 2009 06:36 AM


All times are GMT -6. The time now is 04:23 PM.


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