images need to be centred on mobile - Forum | JoomShaper
Solved SP Page Builder

images need to be centred on mobile

Asked by Dina Abramson 4 years ago Last activity 4 years ago

Hi,

I am using a block that has alternating left and right text and images. Looks fine on desktop, but on mobile, some images are not centred. I have tried to adjust them in pagebuilder using mobile settings, but nothing changes when i look at the website on my phone.

Screenshot:

https://awdtest2.com/images/mobile_view_images.png

Accepted answer

Marked as the solution
Ariba Staff

Hello

Thank you for your query.

Please check now - I have added the following css rules in custom css section

 @media (max-width: 767px) {
    .sppb-addon-wrapper > div {
        padding: 10px 0px !important;
    }
    .sppb-addon-content {
        overflow: hidden;
    }
    .sppb-addon-content .sppb-img-responsive{
        max-width: 100% !important;
    }
}

1 more reply

Dina Abramson Asked this
4 years ago · edited

thank you that is perfect

i have one other question is it possible to have a parallax full width background image adjusted for mobile so the image can be seen properly? is it managed through css or on the settings in pagebulder?

https://awdtest2.com/images/parallax_on_mobile.png

thank you.

Log in to reply.