Jump to content

Disable images from stacking on mobile — Keep desktop layout of image blocks on mobile.

Recommended Posts

4 hours ago, YMua said:

Site URL: https://www.muamedia.com/about

The images on this my website page (www.muamedia.com/about) are great on desktop but they are stacked on mobile and looks terrible. I want to make sure that the layout of images on mobile are exactly the way it is on desktop.

Can anyone help?

 

Try adding to Home > Design > Custom Css

@media only screen and (max-width: 767px) {
  #block-yui_3_17_2_1_1645141100641_399368 + div {
    display : flex;
    justify-content: space-between;
  }

  #block-yui_3_17_2_1_1645141100641_399368 + div  > .span-6 {
    width: 40% !important;
  }
  #block-yui_3_17_2_1_1645141100641_399368 + div  > .span-6  > .image-block {
    width: 100% !important;
    padding: 0;
  }
}

Let me know how it works on your site

Support me by pressing 👍 if this useful for you

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

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.