Archived topic
Cannot remove the Page title with CSS
6 replies · Started by Bert on July 10, 2017
I've spent hours unsuccessfully trying to remove the page title and eliminating the huge gap between the Site Title/Tagline and the first Beaver Builder Section.
I found the following CSS code from the generatepress site and put it into the Simple CSS box in Appearance, and also put it in the Beaver Builder global settings. I could not get it to work. Please help.
/*
Remove title
*/
.site-header {display:none}
/*
Remove margins
*/
.entry-content, .entry-summary, .page-content {
margin-top: 0;
}
/*
Remove Title
*/
add_filter( 'generate_show_title', 'ba_remove_page_title' );
function remove_page_title()
{
return false;
}
Hi there,
Are you able to link me to the page? Just want to make sure where the title is coming from. Thanks!
I forgot to mention that the CSS code deleted my site title/tagline, which I want to keep. It did not remove the page title.
Have you tried using the disable element meta box?
https://docs.generatepress.com/article/disable-elements-overview/
A link to your site will help resolve the problem. Thanks!
Thank you, Leo!
I found on a Wordpress forum the following CSS code that removed the page title:
entry-title {
display: none;
}
How can I get rid of the huge gap between the site title/tagline and the Beaver Builder content? Please see at: russianinvestigation.org
Using the disable element metabox to disable Content Title would do the same thing as that CSS.
The white gap is actually BB content already as seen here:
https://s12.postimg.org/fmee53vlp/BBgap.png