Trying To Fit The Page Builder Into A Rockettheme Template - Question | JoomShaper
Black Friday sale is live with flat 50% OFF. Sale ends soon! Grab your deal now!

Trying To Fit The Page Builder Into A Rockettheme Template

R

Richard

SP Page Builder 2 years ago

I would like to use a Rockettheme template for a new site with SP Page Builder (its a long story!)

Having tried to set this up with some demo content i find that it fits really well down the right side but not the left and the top, as you can see there is a fairly large gap which i cant figure out how to fill. I approached RT about this and they suggest the following:

"It's not that it's not fitting within the Theme frame, it's not fitting within it's own frame. See attached. I have the main SP wrapper (.platform-content container is identical) highlighted in the Inspector and you can see the visual highlighting above (blue overlay)... you'll see the content spilling out the rightside of that. Unsure if that's intentional design or a conflict, but the Theme/Gantry is properly framing the rendered content."

https://prnt.sc/zbX5QuoPUSjh

This is the temp URL: https://training.temp-gingerweb.com/ hopefully you can easily see the gap on the left and the top, i would like to get it to fill the white space as closely as it does down the right side.

many thanks for any help you can give me here

0
7 Answers
Pavel
Pavel
Accepted Answer
2 years ago #127479

Hi Richard. If my memory does not change in Gantry this is custom.scss. But I don't know Gantry well, so I can advise you - it will be better to read Gantry documentation about custom CSS adding or contact Gantry support

0
Pavel
Pavel
Accepted Answer
2 years ago #127355

Hi. The reason is the margin settings in your SPPB section.

If you set left and right margins to 0 it will look ok

0
Pavel
Pavel
Accepted Answer
2 years ago #127356

If you want this appearance...

...you must prepare Gantry for SPPB pages using CSS

.com_sppagebuilder.view-page :is(.g-content, .platform-content.container) {
    margin: 0;
    padding: 0;
}
0
Pavel
Pavel
Accepted Answer
2 years ago #127359

If you want full width appearance...

... CSS will be:

.com_sppagebuilder.view-page #g-navigation + .g-container {
    width: 100%;
}
.com_sppagebuilder.view-page #g-navigation + .g-container > .g-wrapper {
    margin-inline: 0;
}
.com_sppagebuilder.view-page :is(.g-content, .platform-content.container) {
    margin: 0;
    padding: 0;
}

And perhaps some other CSS code for fine tuning will be required.

0
Mehtaz Afsana Borsha
Mehtaz Afsana Borsha
Accepted Answer
Support Agent 2 years ago #127407

Hi

Thanks for contacting us. You can follow Pavel's instruction. And thanks Pavel for sharing the solution.

-Regards.

0
R
Richard
Accepted Answer
2 years ago #127428

That is amazing detail thanks Pavel! I assumed the CSS adjustment would be in the Gantry custom.css file but that isnt working, where would i best put the mods?

0
R
Richard
Accepted Answer
2 years ago #127525

OK Pavel thanks i will keep trying thank you very much for your time and effort

0