[Resolved] How to get rid of the default right and bottom padding?

Home Forums Support [Resolved] How to get rid of the default right and bottom padding?

Home Forums Support How to get rid of the default right and bottom padding?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2362611
    Jin

    I’m trying to create a text within a box. Basically a “Paragraph” element in a “Container” element with 0 padding on the top, bottom, left and right.

    The problem is that GeneratePress’s default seems to have about 2 to 4px of bottom and right padding (for its “Container” element).

    Please view the following:

    What I Want
    What I Have
    My Current Settings

    #2363131
    Ying
    Staff
    Customer Support

    Hi Jin,

    It’s not the container setting, it’s the paragraph block you are using which comes with a default bottom margin of 1.5em.

    Can you use the headline block of GB instead of the WP paragraph block? Then you should be able to set the headline block’s bottom margin to 0.

    And as I suggested in your other topic, use GB Grid block, instead of the WP columns block. Grid block offers the control of horizontal gap which Columns block doesn’t.

    #2366073
    Jin

    Thanks for your help. Yes you’re right about using the headline block to set the bottom margin to 0. That worked.

    #2369103
    Ying
    Staff
    Customer Support

    No Problem Jin, glad to help 🙂

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