Site logo

Archived topic

Trying to remove white block in background

1 reply · Started by Shari on April 30, 2021

Viewing posts 1–2 of 2

I've removed all margins that I can find on individual blocks but somehow I have a gap between top and bottom of containers and a white block that shows through in the middle. I need to remove the white block but most importantly I need the containers to have zero space between the first and next container.

Hi there,

These are the elements I'm seeing which is contributing the top white space:
https://www.screencast.com/t/kVqp7v3hG7

And the bottom white space can be removed with this CSS:

.entry-content > [class*="wp-block-"]:not(:last-child) {
    margin-bottom: 0;
}

I'll also mention that I see you are using WP core blocks, Genesis blocks, and GenerateBlocks all on the same page I don't believe that's necessary.

My recommendation would be to stick with Genesis blocks or GenerateBlocks only to avoid any conflicts.

This archived topic is closed to new replies.