Hello,
I have a row made from PageBuilder which is formed of 4 cells, each of which are SiteOrigin Image widgets, each 25% of the page to allow for full width stretched.
However when previewing the page and inspecting the elements i’m seeing:
#pg-131-0 .panel-grid-cell, #pg-131-1 .panel-grid-cell, #pg-131-2 .panel-grid-cell, #pg-131-3 .panel-grid-cell, #pg-131-4 .panel-grid-cell {
padding-left: 15px;
padding-right: 15px
where as the row inspection shows:
margin-left: -155.5px;
margin-right: -155.5px;
padding-left: 0px;
padding-right: 0px;
border-left-width: 0px;
border-right-width: 0px;
Is there anywhere via PageBuilder that I can set these to 0px so all my images dont have this 15 padding between them?
Also i want to have these as display: block so when on a mobile device they will again have no padding and sit on top of each other.
Many thanks in advance.
Hi Will
Any chance I could see this on your site? I’ll try help out from there.
Thanks.
Sorry I wouldn’t be able to share the live site, maybe I could take a clone and put up on personal hosting to show you. Or is there any other way you could help?
There is a private reply option below if you’d like the link to remain private. The checkbox is in the bottom right. Only SiteOrigin and you will be able to see the reply. We can also delete the entire thread when done if you’d like.
I managed to fix the issue by going into PageBuilder settings and removing the default 15px padding it gave by default and set this to 0px, so now my images on rows are touching as i wanted, but when re-sizing down my browser the image itself isn’t filling the cell completely (at max-width 960px) – it causes a whitespace underneath
This is a private message.
Thanks Will. The text block between the turtles and surfer has the follow CSS styles added:
Those are causing the responsive problem.
I don’t have an immediate solution for this. What you could do is remove those from the widget Attributes tab and instead add a class name, then target that class name under Appearance > Custom CSS.
Under widget Attributes CSS Class:
Then under Appearance > Custom CSS: