Site logo

[Resolved] Gap between footer and Gutenberg block

Home Forums Support [Resolved] Gap between footer and Gutenberg block

Home Forums Support Gap between footer and Gutenberg block

  • This topic has 4 replies, 2 voices, and was last updated 5 years ago by David.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1698503
    Janine

    Hi.

    How can I get rid of the gap between the last block on the homepage and the footer?

    Thank you.

    #1698508
    Janine

    I tried this additional CSS and class, but it doesn’t work:

    /* remove spaces above and below a block */
    .m0 {
    margin-top: 0!important;
    margin-bottom: 0!important;
    }

    Maybe it doesn’t work because the footer is not a block and that is where I need to apply it? I don’t know.

    Thank you.

    #1698662
    David
    Staff
    Customer Support

    Hi there,

    theres an empty text block after the last Container Block and thanks to WP 5.7 empty paragraphs not take up space on the page doh! – they will be reverting that change in the next update ( i hope ).

    If you can delete the empty text block then do so. If not add this CSS to stop them from taking up space:

    p:empty:before {
        display: none;
    }
    #1699191
    Janine

    Thanks, David. I was able to remove the empty space.

    #1699527
    David
    Staff
    Customer Support

    Glad to hear that!

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.