[Resolved] Need to add some margin or padding to layout – not sure how!

Home Forums Support [Resolved] Need to add some margin or padding to layout – not sure how!

Home Forums Support Need to add some margin or padding to layout – not sure how!

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #867805
    Henry

    So, all is going great with GP on a project I am working on.

    However – one issue. When the screen is reduced to a tablet and mobile the padding (or margin?) is removed.

    What I mean can be shown in this screenshot: https://prnt.sc/nbeyo2

    Basically what happens is that the widget and content areas are in white background (the page color is grey) and when the screen is made smaller then the white content area (and widget area) goes exactly onto the side of the screen.

    I’d like for there to be a little padding – can this be done and if so – how?

    Thanks!

    #867846
    David
    Staff
    Customer Support

    Hi there,

    try this CSS:

    #page.grid-parent {
        padding-left: 20px;
        padding-right: 20px;
    }
    #868173
    Henry

    Wow! Thanks, David – you’re awesome! Thanks for your rapid support.

    #868359
    David
    Staff
    Customer Support

    Glad to be of help

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