- This topic has 15 replies, 5 contibutors, and was last updated 9 years ago by .
-
Question
Answers
- The question ‘Remove Page header’ is closed to new replies.
BuddyBoss Home – Web › Support Forums › Themes › Boss. theme › Remove Page header
How can I completely remove a header on one page only (see attached).
Thank you again for your continued support. You guys have been amazing.
Hi @costyclan, Please add this css in your custom.css file:
#post-5217 header.entry-header h1.entry-title {
display: none !important;
}
#post-5217 header.entry-header {
margin-bottom: 0;
}
article#post-5217.post-5217.page.type-page.status-publish.hentry {
padding: 0px 30px !important;
}
Regards
Pallavi
Hi Pallavi,
This code has removed the title from showing but the titlebar is still there and there is still a large gap between page content and titlebar.
Actually what would be better would be to…
1. keep the titlebar but remove the titlebar menu from showing on mobile (just keep profile menu), and
2. remove the gap between page content and title bar
thanks Pallavi
Any suggestions on how I can remove the gap on homepage Pallavi?
@pallavi any answers?
I’ve the same question.
Thanks.
Hi @barbebeaty, Please provide me your site’s url so I could check it once.
Regards
Pallavi
@pallavi any luck with this?
Hi @costyclan, That is page specific title header, if you do not want to display page title at any page you can use
.entry-title{
display: none !important;
}
Regards
@vapvarun unfortunately this does not solve my issue. If I add that code it removes all the post titles when in summary and the white gap is still there on the home page (screenshot already submitted).
Still need something that will work to remove that gap please.
Hi @costyclan, Please add this css in your custom.css file:
body.buddypress .entry-content {
padding: 0 !important;
}
.item-list-tabs.bps_header {
padding: 0 !important;
}
Regards
Pallavi
That still doesn’t work on mobile or desktop layout. Perhaps it’s padding in the page and not header?
It’s also there above line in footer area. Please, please help me with this.
Hi @costyclan, On the homepage there is white space on the top of content section (below the header) and at the bottom of the page (just above the footer)
Here’s the css code for that:
.pagination-below {
margin-bottom: 0 !important;
}
.panel-grid:first-child {
padding-top: 0px !important;
}
Regards
Pallavi
Did this work?