Hide Subheader / Title

edited November 1 in SEO

When the “Hide Title & Subheader” option is enabled in the page settings, the H1 tag is removed and not rendered in the frontend at all.

For SEO purposes, the H1 should still be present in the HTML (DOM) even if it is visually hidden. Currently, Google cannot detect an H1 on pages where this option is enabled, which can negatively impact SEO.

Is there currently any setting or recommended method to keep the H1 tag for Google while still hiding the page title visually?


https://diefotobox.at

Comments

  • Hi,

    You can add H1 with the heading element into your pages with BeBuilder, and hide it with Responsive Visiblity options.

    https://support.muffingroup.com/video-tutorials/responsive-editing-in-bebuilder/


    Best regards

  • That's clear to me...

    My question was more about whether it's possible to hide the title and subheader using the "hide title" and "hide subheader" checkboxes, BUT still keep them visible for Google and SEO.

  • Nope, when you check to hide the title or the Subheader, it is completely removed from the website source, and there is no option to keep it. That is why I suggested a workaround with the heading element.


    Best regards

  • I hide the subheader with a little CSS, so the content in the DOM remains intact.


    #Subheader .title {

     position: absolute;

     width: 1px;

     height: 1px;

     margin: -1px;

     padding: 0;

     overflow: hidden;

     clip: rect(0, 0, 0, 0);

     clip-path: inset(50%);

     border: 0;

     white-space: nowrap;

    }


    #Subheader {

     padding: 0 !important;

     margin: 0 !important;

     min-height: 0 !important;

     height: 0 !important;

     background: transparent !important;

     border: 0 !important;

    }


    #Subheader .container,

    #Subheader .column.one {

     padding: 0 !important;

     margin: 0 !important;

     height: 0 !important;

    }


    #Content,

    .content_wrapper {

     padding-top: 0 !important;

     margin-top: 0 !important;

    }


    .mfn-header-tmpl-sticky-spacer,

    .header_placeholder {

     height: 0 !important;

    }

Sign In or Register to comment.
This website uses cookies

We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.

Cookies are small text files that can be used by websites to make a user's experience more efficient.

The law states that we can store cookies on your device if they are strictly necessary for the operation of this site. For all other types of cookies we need your permission. This means that cookies which are categorized as necessary, are processed based on GDPR Art. 6 (1) (f). All other cookies, meaning those from the categories preferences and marketing, are processed based on GDPR Art. 6 (1) (a) GDPR.

This site uses different types of cookies. Some cookies are placed by third party services that appear on our pages.

You can at any time change or withdraw your consent from the Cookie Declaration on our website.

Learn more about who we are, how you can contact us and how we process personal data in our Privacy Policy.

Please state your consent ID and date when you contact us regarding your consent.