Black Friday Sale! Save up to 50% off!

What are the block margins doing?

xvemanuelvx
415 Posts
xvemanuelvx posted this 03 May 2024
Ask a Question

Hello.

You can set margins for blocks and elements. I am aware of what the margins do for elements. However, I do not understand the block margins.

If I enter a value here, there are always conflicts with the margins of the elements that are in the block. What does this function do? Wouldn't it make more sense to use paddings?

Margin settings on an element:

Screenshot-2024-05-03-145139.png

Margin settings on a block:

Screenshot-2024-05-03-145102.png
Hello. You can set margins for blocks and elements. I am aware of what the margins do for elements. However, I do not understand the block margins. If I enter a value here, there are always conflicts with the margins of the elements that are in the block. What does this function do? Wouldn't it make more sense to use paddings? ##Margin settings on an element: !Screenshot-2024-05-03-145139.png! ## Margin settings on a block: !Screenshot-2024-05-03-145102.png!
Vote to pay developers attention to this features or issue.
1 Reply
Order By: Standard | Newest
Support Team
Support Team posted this 03 May 2024

Hi Emanuel,

For example, you added a Grid to the Block. The first option (element margin) will add the outer spacing around the Grid. For example, the Top margin is the spacing between the top edge of the Grid and the top edge of the Block:

top-margin.png

The Block element duplicats this margin - spacing between the top edge of the Block and the top edge of the first element in the Block.

Please let us know if you have any further questions.

...................................................
Sincerely,
Olivia
Nicepage Support Team

Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp

Hi Emanuel, For example, you added a Grid to the Block. The first option (element margin) will add the outer spacing around the Grid. For example, the Top margin is the spacing between the top edge of the Grid and the top edge of the Block: !top-margin.png! The Block element duplicats this margin - spacing between the top edge of the Block and the top edge of the first element in the Block. Please let us know if you have any further questions. ................................................... Sincerely, Olivia Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
You must log in or register to leave comments