Archived topic
remove p tag margin
3 replies · Started by ken on December 23, 2020
Hi,
There seems to be a 1.5em margin on the html p tag in this page in the "contact us" container. Is there a way to remove it properly?
Thanks!
Hi Ken,
Since you are using GenerateBlocks, it's better to use Headline block to create the "Contact us" content.
https://docs.generateblocks.com/article/headline-overview/
Then you can set its bottom margin to 0 in the block editor.
Let me know :)
Hi Ying,
Thanks! It's better now, however, there are still some space in above the block, I've already set both the padding and margin to 0.
Could you try to follow the steps below:
1. Go to the page editor.
2. Use Headline block (blue icon) instead of using the WP default Paragraph block (black icon) to add "Contact Us".
https://docs.generateblocks.com/article/headline-overview/#element
3. Click on the "contact us" paragraph.
4. Go to block editor > Spacing.
https://docs.generateblocks.com/article/headline-overview/#spacing
5. Set margin bottom to 0.
Let me know :)