Are you a GenerateCustomer?

Do you have an active GP Premium or GenerateBlocks Pro license key?

Create a GenerateSupport account for GeneratePress and GenerateBlocks support in one dedicated place.

Create an account
Already have a GenerateSupport account? Login

Just browsing?

Feel free to browse the forums. Support for our free versions is provided on (GeneratePress, GenerateBlocks).

Want to become a premium user? Learn more below.

add padding to site wrapper in GP

  • Hi Support,

    I need to add padding to the top and bottom of my page for a contained website and I keep getting an error when I try to do this and was hoping you could give me some advice on how to accomplish.

    I have tried using the customizer settings but it doesn’t affect the entire website just the content area and I saw one support ticket that created element hooks to the top and footer area to then add css to the site wrapper but that voided the background colors I had.

    So thought I would ask the best way to add 50 px top and bottom to the entire site. Thanks for any help you can give on this. I really appreciate it. I will add the site link to the private area for review.

    Thanks! I hope you have a great day!!


  • Hi Will,

    You’ll need custom CSS for that.

    Add this through Appearance > Customize > Additional CSS:

    body {
        padding: 50px 0;
  • Awesome. Thanks Fernando!! I appreciate it!!

  • You’re welcome!

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