[Support request] Cannot remove the Page title with CSS

Home Forums Support [Support request] Cannot remove the Page title with CSS

Home Forums Support Cannot remove the Page title with CSS

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #347207
    Bert

    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;
    }

    #347208
    Leo
    Staff
    Customer Support

    Hi there,

    Are you able to link me to the page? Just want to make sure where the title is coming from. Thanks!

    #347222
    Bert

    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.

    #347237
    Leo
    Staff
    Customer Support

    Have you tried using the disable element meta box?
    https://docs.generatepress.com/article/disable-elements-overview/

    #347238
    Leo
    Staff
    Customer Support

    A link to your site will help resolve the problem. Thanks!

    #347244
    Bert

    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

    #347263
    Leo
    Staff
    Customer Support

    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

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.