[SOLVED] Remove header image and menu bar from just one page
How can I remove the header image and page menu bar from just one page? I'm currently using 3.4.2 and I have seen instructions for previous versions...but they do not work. Help please!
|
you would need to edit bfa_header_config.php and put an "if (is_page('xx'))" where xx is the page id around the code you dont want.
|
Couldn't you just use a CSS insert to hide it on that one page?
I'm thinking somethng like this: body.page-id-XX div#imagecontainer {display: none;} body.page-id-XX div#menu1 {display: none;} |
Brad,
Great call!! don't know where my brain was.:( tdill, use Brad's solution - to find the page id, edit the page in question and look at the address of the page - it will be something like HTML Code:
http://yourdomain.com/wp-admin/page.php?action=edit&post=155 HTML Code:
body.page-id-155 div#imagecontainer {display: none;} |
Quote:
Just started using this theme and it is awesome. The contents of this post are exactly what I am looking for, but I do not know where to put these CSS inserts. I don't know where ATO->HTML/CSS Inserts_> CSS Inserts is. Is this a file/ folder that comes with the theme or do I have to make this myself. Thanks for the great work that you do. |
nevermind figured it out!
|
Quote:
Next question: How do I use this technique to remove the bar1 and bar2 which are left somewhat orphaned now that the images is gone? [TaSK] |
to get rid of bar1 and bar2 just take out the %bar1 and %bar2 at ATO->Style & edit HEADER AREA->Configure Header Area
|
Quote:
Here is the question again: When I use the trick mentioned here to remove the header image from one single page (front page in this case), how do I remove the bar1 and bar2 on that page (only)? Thank you for your patience. [TaSK] |
try using this
HTML Code:
body.page-id-155 div.horbar1 {display: none;} |
Quote:
|
yes, this should go into CSS Inserts. I have had occasions where I copied something and all the spaces were really unprintable characters. Try deleting each space and typing a space in it's place.
|
The bar1 and 2 removes everythng except logo. I am trying to remove the typical RSS stuff (posts-email-comments), the search bar and the [Page Name] text. If I can't remove the RSS stuff from just the one page I at least want to get rid of the page title text.
Any ideas? |
this will get rid ofthe logo area including the rss items on the home page, change 'home' to a particular page id like the other examples if you want it on one page
HTML Code:
body.home table#logoarea {display: none;} |
1 Attachment(s)
I apologize, what I meant was the div.post-headline(i think) as seen in the attached screen shot. It says "HOME". This is the title of the page. I cannot get it removed no matter what I try.
Suggestions? |
try
HTML Code:
body.home #post-headline {display: none;} |
Quote:
body.page-id-xxxxx #post-headline {display: none;} |
sorry, it should be a '.' instead of a '#' since 'post-headline' is a CLASS not an ID. Try this
HTML Code:
body.home .post-headline {display: none;} |
that did it! Thanks!!
|
All times are GMT -6. The time now is 04:26 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.