Jump to content

Mobile view stacking page content in wrong order

Recommended Posts

Site URL: https://www.josarsby.com/all-clients

So this page has been arranged so that content is listed alphabetically which is fine on desktop/tablet view however when viewed from mobile device the content is stacked as if the two columns are on top of eachother and no longer in order.

I've seen previous fixes for this on other templates using code to make the columns side by side on mobile view and this could be the right solution. Is there a fix for this?

Thanks

Link to comment

Add to Design > Custom CSS

/* all-clients mobile */
@media screen and (max-width:767px) {
div#block-e469ca92430b25cddc8d+.row .span-6 {
    width: 50% !important;
    float: left !important;
}
div#block-e469ca92430b25cddc8d+.row .span-6 * {
    font-size: 14px;
}}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
On 4/22/2022 at 9:15 AM, tuanphan said:

Add to Design > Custom CSS

/* all-clients mobile */
@media screen and (max-width:767px) {
div#block-e469ca92430b25cddc8d+.row .span-6 {
    width: 50% !important;
    float: left !important;
}
div#block-e469ca92430b25cddc8d+.row .span-6 * {
    font-size: 14px;
}}

 

Thank you that's almost perfect, the last two clients on the page seam to be full width though still. Can I fix this myself or does it need different code? Thanks

Link to comment
On 4/28/2022 at 10:20 PM, sean.atkins said:

Thank you that's almost perfect, the last two clients on the page seam to be full width though still. Can I fix this myself or does it need different code? Thanks

Use this new code

/* all-clients mobile */
@media screen and (max-width:767px) {
div#block-e469ca92430b25cddc8d+.row .span-6 {
    width: 50% !important;
    float: left !important;
}
div#block-e469ca92430b25cddc8d+.row .span-6 * {
    font-size: 14px;
}
div#block-e469ca92430b25cddc8d+.row+.row .span-6 {
    width: 50% !important;
    float: left !important;
}}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
  • 3 weeks later...

@ECI

The issue is your layout. When the screen gets narrow SS slides the columns under each other from left to right (responsive).

Using my Row Column Finder bookmarklet we can see that you have three long columns in a row.

1898287973_ScreenShot2022-05-21at12_02_36PM.thumb.png.e99791c18ba37e03e94271970588bd67.png

On mobile column 2 slides under column 1 and column 3 slides under 2.

You need to create a layout that has several rows with 3 columns each.

1437522731_ScreenShot2022-05-21at12_13_38PM.thumb.png.89dea773248d285dd6811c4514ea0b69.png

Then when on mobile the order will be maintained.

898325523_ScreenShot2022-05-21at12_15_16PM.png.39eb477d29be1a2efbf18bd85f63b808.png

When restructuring the content. Use the line block trick to maintain separate rows.

839819535_ScreenShot2022-05-21at12_22_56PM.thumb.png.0c5165607d81715b998c88b03b93f900.png

Then when you are sure it's all good. Delete the line blocks or hide then with CSS.

2129139556_ScreenShot2022-05-21at12_24_08PM.thumb.png.a98592c11f593d661bd289640e51180a.png

Note : If you have two text blocks on top of each other and you edit one, SS may try to combine them and ruin your layout. Something to watch out for. Again use line blocks to help out if that happens.

Let us know how it goes.

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

Link to comment
  • 6 months later...
3 hours ago, cecifp said:

I have the wrong stacking order issue as well on mobile with my page.

Your section is Fluid Engine and the suggestions prior to your post are solutions for the Classic Editor.

I think your issue is related to how FE doesn't work the way one would expect. I know of no solutions but perhaps others will.

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

Link to comment
7 hours ago, creedon said:

Your section is Fluid Engine and the suggestions prior to your post are solutions for the Classic Editor.

I think your issue is related to how FE doesn't work the way one would expect. I know of no solutions but perhaps others will.

Thank you @creedon. I'll have to figure out where to go for help with that then, the Fluid Engine if no one else knows here...

This implies we don't have Fluid Engine if it's asking me to upgrade, no?
 

 

Screen Shot 2022-12-09 at 11.49.36 PM.png

Edited by cecifp
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.