Site logo

Archived topic

How To Remove Gap Between Before Footer Hook and Footer

5 replies · Started by Victor on May 13, 2021

Viewing posts 1–6 of 6

Hey,

There appears to be a small gap between my before footer hook and the footer hook. How do I remove this gap?

Thank you!

Hi there,

I'm not sure which part you're pertaining to? Can you provide any screenshot on which gap are you trying to remove?

Let us know.

The gap in the screenshot in the private information. The gap is between a before footer hook I added and the main site footer. I want to remove that gap.

Hi there,

edit the Block Element that is displaying the Join our Pack section.
Below the Container Block you will see an empty Text Block, select it and backspace delete to remove it - that will get rid of the unwanted space.

Oh man, I am super dumb. Thanks a lot.

While we are at it, can you tell me what I need to add to your code below to make the separator centered and with a little bit of gap below.

hr.wp-block-separator {
    max-width: 40%;
    height: 2px;
    background-color: #193491;
}

Try this CSS:

hr.wp-block-separator {
    max-width: 20%;
    height: 2px;
    background-color: #cc6060 !important;
    margin: 40px auto;
}

I added !important to the background color to overide the color setting being added in the editor

This archived topic is closed to new replies.