Site logo

Archived topic

Reducing Space between the blocks horizontally

3 replies · Started by purnima banik on January 4, 2021

Viewing posts 1–4 of 4

Hi, GP Team,
I wanted to reduce the gap in between the rows of colored blocks created with Generate blocks. The solution s is wanted for both the Desktop and Mobile view.

Thanks in advance

Hi,

That particular gap is caused by the default margin-bottom added on <p> tags.

But we can override that for the specific block by adding this CSS:

.gb-container.gb-container-47d1cded p {
    margin-bottom: 0;
}

As suggested I tried it, but the code rather merges the block horizontally. Actually, I want to keep each block separate from the other, keeping the gap in control.

This archived topic is closed to new replies.