[Resolved] How to remove site-content from Generateblocks created pages e.g. Home page

Home Forums Support [Resolved] How to remove site-content from Generateblocks created pages e.g. Home page

Home Forums Support How to remove site-content from Generateblocks created pages e.g. Home page

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #2318947
    Pankaj

    How to remove site-content from Generateblocks created pages e.g. Home page

    Can any support guy help me with this? I want to remove content and want to show only elements on home page or other pages I am creating using Generateblocks.

    #2319300
    Leo
    Staff
    Customer Support

    Hi there,

    The site-content div is a default theme structure and is required for things to work properly.

    I can’t see why you would need to remove it?

    #2319529
    Pankaj

    Hello,

    I want to get rid of this space: https://prnt.sc/IyoLQlMjXj4P

    #2319538
    Fernando
    Customer Support

    As Leo mentioned, that section is part of the theme-structure, however, if you wish to remove it, you can try this CSS:

    .inside-article {
        display: none;
    }
    #2319540
    Pankaj

    Hello,

    This code will remove it from all the pages. I have blog section too.

    #2319545
    Fernando
    Customer Support

    I see. You can add it through a Hook Element instead:

    <style>
    .inside-article {
        display: none;
    }
    </style>

    Hook it to wp_head. Set the display rules to your preference.

    #2319557
    Pankaj

    Hello,

    The last reply solved the issue.

    #2319563
    Fernando
    Customer Support

    You’re welcome Pankaj!

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