Row columns in mobile view - Forum | JoomShaper
Solved SP Page Builder

Row columns in mobile view

Asked by Eduardo G. 3 years ago Last activity 3 years ago

Hi! I have an sppb page with 1 row and 4 colums with images
In my PC I see 4 columns, in my phone I see 1 column

Is it possible to change this behavior?
I want to show 2 columns in mobile view and 4 colums in PC view.
Can this be done? How?

Thanks

Accepted answer

Marked as the solution
Paul Frankowski Senior Staff
3 years ago · edited

In SPPB 3, you you should be able to do that using Columns Option settings in back-end editor.

There is Mobile Layout option here, set "col-xs-6"

info_1074_2023.jpg

so CSS is not needed.

4 more replies

Paul Frankowski Senior Staff
3 years ago · edited

Hi Eudardo,

Possible, but not so easy as it was in SPPB 3 ;/ In SPPB 4.0.10:

  1. For that Row where you need it add unique Section ID name, for example, mygrid - using Row Options.
  2. Then use my Custom CSS and Save changes.
@media screen and (max-width: 680px) {
#mygrid .sppb-row-column  {max-width: 50% !important; flex-basis: 50% !important;}
}

Video (with all steps): https://youtu.be/rPPpeY6yRHE

Eduardo G. Asked this

Thanks both.
As my SPPB version is 3, I'll try Paul's suggestion.

Eduardo G. Asked this

Perfect solution, Paul.
Problem solved.
Best regards!

Log in to reply.