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 WordPress.org (GeneratePress, GenerateBlocks).

Want to become a premium user? Learn more below.

padding to a block element

  • hi there,

    What is the way to add a fixed padding to value block elements? I want to make them inline with the rest of the site. i use 40px (left, right, bottom, top) for Content Padding. i want to use the same value site wide. but dont want to adjust it on every element

  • Hi there,

    you could use some CSS, but you would need to know where to add the padding. For example:

    
    .archive #main {
        padding-inline: 20px;
    }
    

    This adds 20px of left and right padding to the archive pages,.

  • thank you

  • You’re welcome

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