[Support request] How to remove space below each blocks in Gutenberg?

Home Forums Support How to remove space below each blocks in Gutenberg?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1385551
    Prabhu

    Hi,

    I would like to remove the unwanted space below each blocks. How can I do that in Gutenberg?

    And, also want to justify my content. Unable to do that as well.

    Thanks

    #1385667
    David
    Staff
    Customer Support

    Hi there,

    Spacing below Headlines and Text are controlled by the Bottom Margin setting in Customizer > Typography > Body & Headlines
    Which other content do you want to change ? Tables? Lists? Images?

    Justification – is this text or images ?

    #1385682
    Prabhu

    Spacing below table & featured image.

    I’m using Gutenberg blocks. The blocks are having an option like “Enter caption” for images & table blocks.

    If I give nothing in the caption place it’s creating extra space below image and table. Anyway to remove that?

    #1385945
    David
    Staff
    Customer Support

    Try adding this CSS to reduce that spacing:

    .entry-content>.wp-block-image:not(:last-child),
    .entry-content>table:not(:last-child) {
        margin-bottom: 1em;
    }
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.