Hello,
I need to utilize the Right position on a SP Page Builder menu item. The problem is, SP Page Builder breaks the layout of the page when there is a module in the right position.
How can this be fixed?
Kind regards,
John
Hello,
I need to utilize the Right position on a SP Page Builder menu item. The problem is, SP Page Builder breaks the layout of the page when there is a module in the right position.
How can this be fixed?
Kind regards,
John
Hello,
It was related to this CSS in the Fortune template.css file:
.com-sppagebuilder #sp-main-body {
padding: 0;
}
I added an additonal Page Class on the menu item called events, and then added the following CSS:
.com-sppagebuilder.events #sp-main-body {
padding: 40px 0px 90px 0px;
max-width: 1270px;
margin-right: auto;
margin-left: auto;
}
Now the layout matches the Joomla articles when there is a module in the right position.
While this was a relatively easy fix, I do wish that SP Page Builder would respect the component layout set in the Layout Builder of the template settings when either the left or right module positions are active.
Kind regards,
John
Hello john@gs
Thanks for sharing the solution with us.
Best regards