Black Friday Sale! Get $20 off GP Premium, $40 off our new Lifetime license, and 45% off license renewals/extensions! Learn more

[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
    #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

    http://snifflevalve.com
    Tutorials and tips for GeneratePress, WP Show Posts, WordPress and Elementor

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