• Robin Labadie

    (@robin-labadie)


    Hi,

    Whatever I try, I can’t remove this white spacing just before the footer. This can be seen on my blog page: https://www.lrob.fr/blog/

    I’ve checked the HTML/CSS a bit, and it seems like the theme’s footer has a forced CSS value of margin-block-start: 1.2rem; set on <footer class="wp-block-template-part">. I think we have no control over it within Gutenberg/FSE.

    I’ve tried what made sense to me with FSE theme’s margins (footer contains two groups, the first one has margin set to 0, and some internal padding that shouldn’t cause any margins outside the footer). I’ve even removed and re-created the footer, as it has helped me in the past with other themes, but not here.

    Anyone has an idea on how to make it work without custom CSS? Or is it a bogus/limitation that would need to be addressed?

    Screenshot:

    Thank you!

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Hi,
    I don’t believe there is one, unless you want to:
    – Wrap the template part inside a group.
    – Disable the default site wide block gap.

    You could set the body color to the dark color, so that the white is not showing when the margin is added.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.