Black Friday sale! Get up to 25% off GP Premium! Learn more ➝

[Support request] How can I disable page content for the home page?

Home Forums Support [Support request] How can I disable page content for the home page?

Home Forums Support How can I disable page content for the home page?

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #381909
    Kelly

    Hi,

    We use a static front page that just uses sliders within GP hooks and we want to disable the home page content because it is causing padding issues: See here https://dev.uccmpolice.com/

    How can I display: none for the content part of just the home page?

    Thanks so much

    #381945
    Leo
    Staff
    Customer Support

    Hi there,

    Hmm don’t think I’m seeing the padding issue?

    Maybe try the Page Builder Container? https://docs.generatepress.com/article/page-builder-container/

    #381953
    Kelly

    Hi Leo

    The padding issue is there is too much space right above where it says “Recent News & Media Releases” on the home page

    I need to reduce that space there without affecting the other pages

    Any ideas what I could do there?

    thank you!

    #381967
    Leo
    Staff
    Customer Support

    Hmm can you try full width in page builder container?
    https://docs.generatepress.com/article/page-builder-container/

    #382025
    Lyle

    Kelly –

    This is the CSS I am seeing for this area:

    .recent_news {
        max-width: 1200px;
        background: #fff;
        text-align: center;
        margin: 0 auto;
        padding-top: 60px;
    }

    There is a top padding of 60px. Set this to 0 and you’re good to go πŸ™‚

    You can do so by adding this to the Additional CSS area in the Customizer:

    .recent_news {
        padding-top: 0;
    }

    And if you want this to apply to only the home page, then install Tom’s Simple CSS plugin and add the CSS to the CSS meta box on the home page πŸ™‚

    Cheers!
    Lyle

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