Site logo

Archived topic

Spacing settings in Block Element has no effect on the page

7 replies · Started by Carsten on March 6, 2021

Viewing posts 1–8 of 8

Hi there, for some reason the Spacing settings in one of my Block Elements has no effect on the page. The Block is displayed, the Heading size and color settings are working, but the margin and padding settings are not.

You are welcome to take a look

Regards
Carsten

Hi there, thanks for your reply, yes BP pages is my main content, so I can't change the padding or margin of the site content.

But why am I not allowed to add extra margin or padding to the block element inside the site content?

Thanks

Could you provide access to your dashboard?

And could you indicate which block element is having the issue?

Sure, admin rights are added for the user, look for the top element in the list called "Heading Medlemmer"

The lower CSS is added by Generateblocks, the upper CSS is added by Buddypress.
https://www.screencast.com/t/rrBY9bOcTc
As you can see, Buddypress CSS is overriding Generateblocks's CSS.

That's why no matter what padding or margin you set for the H2 in Generatebloks, it won't apply.

The only way is to use CSS, you could add them in to customizer > additional CSS:

.buddypress-wrap h2.gb-headline-92897137.gb-headline-text {
    margin-top: 0;
    margin-right: 20px;
    margin-left: 20px;
}

Thanks for clarifying the issue and bringing a solution to that.

Regards

You are welcome :)

This archived topic is closed to new replies.