Site logo

Archived topic

Spacing between "element" and the first element on a page

7 replies · Started by Chintan on August 15, 2022

Viewing posts 1–8 of 8

Hi

I am implementing a global box at the top of my articles with a message using "Elements." I have tried to implement two different pages on two different types of conditions. And in both cases, the spacing at the top is way too much. Is there a way I can manage the spacing better? Thank you!

Hi there,

the text inside the container, swap the block for a GB Headline block, you can then:

1. set the HTML Element to a P tag instead of the default H2
2. with the block selected go to Spacing and set the Bottom Margin to 0

Likewise you can adjust the Spacing top and bottom margin on the Container block.

Hi

I did all the changes as you mentioned, but still see the same spacing appear in both cases.

There's a 2em top margin added to the content by default:
https://www.screencast.com/t/9jt2rZeiR

The normal margin added to the paragraph is 1.2em, you can offset the 0.8em by adding -0.8em as the element (Note:...) container's bottom margin.

That doesn't seem to work either. The spacing isn't taking "em" in the margins.

Thank you so much, Ying :)

No problem :)

This archived topic is closed to new replies.