-
Hi there,
I have added an element and create a block in it.
There is a space after my block which I don’t want.
How I can remove it?<!-- wp:generateblocks/container {"uniqueId":"a4347741","backgroundColor":"var(\u002d\u002daccent)","textColor":"var(\u002d\u002dbase-3)","isDynamic":true,"blockVersion":3,"backgroundColorHover":"var(\u002d\u002daccent)","textColorHover":"var(\u002d\u002dbase-3)"} --> <!-- wp:generateblocks/container {"uniqueId":"c4204def","isDynamic":true,"blockVersion":3,"useGlobalMaxWidth":true,"marginRight":"auto","marginLeft":"auto"} --> <!-- wp:heading --> <h2 class="wp-block-heading">Some text gere</h2> <!-- /wp:heading --> <!-- /wp:generateblocks/container --> <!-- /wp:generateblocks/container -->
-
Hi there,
I just pasted your code to my site, but I don’t see any extra space.
What space are you referring to?
-
Hi,
Can you check my website?
There is gap between 2 blocks. -
Hi there,
Sorry for the late reply – we’ve been having some internal notification issues in this forum.
The spacing is coming from the margin-bottom of the WP Heading block you are using:
https://wordpress.org/documentation/article/heading-block/Try switching to GB’s Headline block and then set the bottom margin to 0:
https://docs.generateblocks.com/article/headline-overview/
https://docs.generateblocks.com/article/spacing-options-overview/#paddingLet me know if this helps 🙂
-
Thanks, this solved the case.
have a nice day -
No problem 🙂
You as well!
- You must be logged in to reply to this topic.