SP Page Builder Breaks Sidebar - Question | JoomShaper
SP Page Builder 6 is Here! Learn More →

SP Page Builder Breaks Sidebar

J

john@gs

SP Page Builder 4 years ago

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

0
2 Answers
J
john@gs
Accepted Answer
4 years ago #9530

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

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 4 years ago #9565

Hello john@gs

Thanks for sharing the solution with us.

Best regards

0