strange behavior when centering text - Forum | JoomShaper
Solved SP Page Builder

strange behavior when centering text

Asked by Laurent 11 months ago Last activity 11 months ago

Hi,

On SPPB latest release, on text block, content is not centered on mobile view, but correctly done :

see here : https://prnt.sc/a1CKy_UwUVg0
live website in Hidden Content area.

Any idea why ?

Thanks
L.

Accepted answer

Marked as the solution

3 more replies

Ziaul Kabir Staff

Hello Laurent,

Thanks for reaching out to us.

On the site URL you provided, I can see that the text is centered. Please check the attached screenshot for reference.

Thanks.

Laurent Asked this

see in mobile view, text is not centered.

Ziaul Kabir Staff

I see there is some responsive issues on your end, I think.

Could you please share temporary administrator access to your Joomla backend? You can provide the credentials securely in the hidden content section. Also, please take a full backup of your site before we make any changes.

Once I have access, I’ll investigate further and see what’s causing the issue. Let me know once you’ve shared the details!

Best regards,

Laurent Asked this

ok see Hidden Content area.

Ziaul Kabir Staff

In your text block addon you have added a custom code like:

p{
    margin: 0px;
}

you should add like this

p{
margin: 0 auto;
}

Thanks

Laurent Asked this

ok works fine thanks

Laurent Asked this

for info : this is not supposed to be managed by SPPB settings instead of adding css manually?

Ziaul Kabir Staff

If you add CSS here, it will override the SPPB CSS for that addon.

That’s why you’re seeing the issue on your text block addon.

Best regards,

Laurent Asked this

Yes I know.

But I need to add css exactly because does not work with text block addon settings

Log in to reply.