Image content - Margin Top not work - Forum | JoomShaper
Staff replied SP Page Builder

Image content - Margin Top not work

Asked by Tomasz Michałowski 4 years ago Last activity 4 years ago

v3.8.1
the option works only in the administration panel. There are no changes on the website. button shows just below the text

2 replies

Paul Frankowski Senior Staff

Hi Tomasz,
Sorry for the problem.
Temporary I set it using Custom CSS in Page setting. We have to make investigation on our side to find a reason.

BTW

Check also Image Layout addon - I think it has even more useful settings that used by you Image Content addon.

Paul Frankowski Senior Staff
4 years ago · edited

And I think I know why nobody noticed that before.
All our templates uses Helix and its use bootstrap 3-4-5 and by default it has margin bottom for < p> :

p {
    margin-top: 0;
    margin-bottom: 1rem;
}

and < p > is used in p.sppb-image-content-text.
Your custom template has

p { padding:0; margin:0;}

so my suggestion by now is just to use

p.sppb-image-content-text {margin-bottom: 20px;}

Log in to reply.