- This topic has 9 replies, 2 voices, and was last updated 5 months, 4 weeks ago by
Fernando.
-
AuthorPosts
-
October 3, 2022 at 1:15 pm #2361949
Howard
Hi,
I have two containers near the bottom of my front page, which each display excess unwanted bottom margin (or padding, or somthing similar). I have done everything I possibly can do to fix this, and nothing works.
This is a staging site, being moved over from Elementor, and it’s incomplete and not great-looking. But this problem is making me crazy.
I will include credentials to login to the site, and details, in the private area below.
TIA…
October 3, 2022 at 5:49 pm #2362083Fernando Customer Support
Hi Howard,
You’re using a WP Group Block to “group” the Blocks in that section. This WordPress core Block has a default margin-bottom.
It would be best to use a GenerateBlocks Container Block instead, so that you have full control of the spacing.
Reference: https://docs.generateblocks.com/article/container-overview/
October 3, 2022 at 5:57 pm #2362093Howard
Hi Fernando,
I understand what you’re saying, but I can’t see a Group block ANYWHERE on that page. Can you show me, or describe exactly where you see it?
-H
October 3, 2022 at 6:07 pm #2362101Fernando Customer Support
I see. Can you provide temporary admin credentials, and I’ll take a closer look?
Please use the Private Information field for this: https://docs.generatepress.com/article/using-the-premium-support-forum/#private-information
October 3, 2022 at 6:08 pm #2362102Howard
I provided them in the private area in my original post.
October 3, 2022 at 6:14 pm #2362108Fernando Customer Support
Right, sorry about that.
You’re currently editing the Front Page, so I’m not able to view it. Let me know once you’re finished.
October 3, 2022 at 6:41 pm #2362117Howard
Sorry, I’m out now. (Didn’t know that could be an issue.)
October 3, 2022 at 6:52 pm #2362123Fernando Customer Support
Thank you.
Viewing your structure, you’re currently using a WordPress Columns Block which has a default bottom margin.
Also, you’re using a WordPress Paragraph Block which also has a default bottom margin.
I would recommend replacing the Columns Block with a GenerateBlocks Grid Block, and the Paragraph Block with a GenerateBlocks Headline Block for full control.
You can turn a GB Headline Block to a Paragraph as well. See: https://docs.generateblocks.com/article/headline-overview/
October 3, 2022 at 9:21 pm #2362189Howard
Thanks, Fernando – that worked!
So for my future reference, is there a way in GP Pro (or WP itself) for me to modify the default margins for the Core Columns and Paragraph blocks? Are they defined by the theme? And if so, where?
-HS
October 3, 2022 at 9:53 pm #2362208Fernando Customer Support
They are default
bottom-margin
set through theme code. To override this, you can use custom CSS.For instance:
body p { margin-bottom: 0; }
You may add this in Appearance > Customize > Additional CSS.
-
AuthorPosts
- You must be logged in to reply to this topic.