Site logo

[Support request] How to override the margins for one container on just one page?

Home Forums Support [Support request] How to override the margins for one container on just one page?

Home Forums Support How to override the margins for one container on just one page?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1074574
    Michael

    Hi there,

    I’m trying to get rid of the padding for a container on just one page. At the moment right and left widths are set at 100px. Do you know how I remove this for the one container? Thanks in advance. Mike

    #1075025
    Leo
    Staff
    Customer Support

    Hi there,

    Try this CSS:

    body.page-id-9131 .generate-sections-inside-container {
        padding-left: 0;
        padding-right: 0;
    }

    Adding CSS: https://docs.generatepress.com/article/adding-css/

    Let me know if this helps 🙂

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