Archived topic
How to remove space below each blocks in Gutenberg?
3 replies · Started by Prabhu on August 3, 2020
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
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 ?
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?
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;
}