[SOLVED] Remove Background and Header from a single page
I am using 3.7.3 to create a highly stylized art site.
http://timrayarts.com/williambraemer/ However, I need to create a blank page for content of a different nature. http://www.timrayarts.com/williambra...epresentation/ I would like to remove the Background and Header for this Page; but continue to use all of the other theme settings. I have searched the Forums and have tried to piece together various solutions (Illustration of my failed directions--these do not work): /* Remove Background/Header Page ID=708 */ {body.page-id-708 {background: #ffffff;} body.page-id-708 {div.post-headline display: none; } { html body div#imagecontainer <if(is_page_id=708) then display; none> } <?php if ( is_artist_representaion_page(708) ) { ?> td#header, td#footer { display: none; } |
You have some curly braces in the wrong places. Try the first example with out the curly brace at the beginning. Also the php code won't work in 3.7.3
|
Hey, thanks!
Entered the following: body.page-id-708 {background: #ffffff;} body.page-id-708 {div.post-headline display: none; Background now removed, but Header remains: See: http://www.timrayarts.com/williambra...epresentation/ |
Quote:
|
Encouraged, but not sure where {}'s go
This revision has same result / No background, but still have header: body.page-id-708 {background: #ffffff;} body.page-id-708div.post-headline {display: none;} See: http://www.timrayarts.com/williambra...epresentation/ Please :) |
Quote:
Could it be that this is attempting to remove the Page Title, and not the HEADER? |
CSS statements are two parts, the selector then the rules. The rules are in the {...} and each must have a ';' at it's end.
Figuring out what CSS selectors to use is where FireBug in FireFox comes in handy, or you can look at the source of the page to find the area you want to get rid of and see the HTML and ID/classes envolved. Once you wander beyond the realm of just using a theme (ie you want to tweek it), you have to learn CSS so you can make the changes you want w3schools.com/css is a great reference |
My question is: Can I delete the Header on a single page?
Quote:
|
Solved:
/* Remove Background & Header Page ID=708 */ body.page-id-708 {background: #ffffff;} body.page-id-708 div#imagecontainer {display: none;} Thank for your help :) |
All times are GMT -6. The time now is 09:03 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.