Module And Content Order On Mobile - Question | JoomShaper
Black Friday sale is live with flat 50% OFF. Sale ends soon! Grab your deal now!

Module And Content Order On Mobile

S

SPD

SP Page Builder 2 years ago

Hi, Is it possible to control the order the modules and content loads. I know I can change the order for a specific position but in my home page I have modules in Position Left and Right and of course Content. Currently the Modules on the left are shown 1st on mobile, then Content, then Right.

What I really need is Content > Left > Right. The modules are just SP PB Module and textboxes in case that matters

I did test this on Cassiopeia and the Content was alwasy lists 1st

Test site below. I just used Chrome Inspect and switched to mobile view

Edit: An additional question, and I hope I am missing something obvious but when in Mobile View (double-checked on mobile) the sizes of my Modules are different but only in mobile view. In the ones with Bkgd Color (Row, Column, Textbox) I have checked for any additional padding/margins and can't see any difference. Basically the top two (About Site and Authors) seem to have a Column left margin or Row Left padding, while last doesn't have either. But that doesn't seem to be the case from what I can see

Edit 2 Applogies for edits. I have found the code that is giving me that padding in the 2 modules above but I have no idea where it is comming from and to be honest that is the effect I want in the last module but no idea where to set it. Basically the 3rd module (Contributors) does not have this line and I want it to. :-)

@media (max-width: 767px)
.sp-page-builder .page-content #section-id-1659872645302 {
    padding-left: 10px;
}

Test site so others can see is they want. https://rctest.piningforthefjords.co.uk/

0
3 Answers
Rashida Rahman
Rashida Rahman
Accepted Answer
Support Agent 2 years ago #98724

Hi there!

Thanks for your query.

You may use the following code in your custom CSS to get your desired order in your smaller device screen:

@media (max-width: 991px){
main#sp-component {
    order: -1;
}
}

Note: Path towards custom CSS(Joomla 3): Extensions>Templates>Styles> Click on your current default template name then choose Template Options. Then find custom CSS within the custom code.

Best Regards

0
S
SPD
Accepted Answer
2 years ago #98849

Thanks that did fix the problem

0
Rashida Rahman
Rashida Rahman
Accepted Answer
Support Agent 2 years ago #99382

Glad that it helped:)

You are always welcome and thanks!

0