Archived topic
Default Space Between Gutenberg Blocks
1 reply · Started by talwhite on March 28, 2021
Viewing posts 1–2 of 2
Hello,
Is there anyway to set the default space between Gutenberg Blocks?
Currently I'm adding Gutenberg spacer block to create the amount of space I desire.
I provided sample post below.
Thank you,
Tal White
Hi there,
there isn't a specific CSS rule that allows you to target all blocks or content on the page.
You could add space before and after an image for example:
.wp-block-image {
margin-top: 100px;
margin-bottom: 100px !important;
}
I have added a large value just so you can see the effect - adjust accordingly - the margin-bottom requires the !important as it already has a margin value set.
This archived topic is closed to new replies.