Jump to content

Change the way images stack in mobile view

Recommended Posts

Is there a way to get images (all images throughout the site) to stack by rows instead of columns?

I am working here:

https://www.wolheimstyle.com/drinks-new

I am working in classic layout mode instead of fluid engine. I know it's possible to re-arrange things using fluid engine, but there are so many images in each of her portfolios that it's totally unwieldy and complicated in fluid engine's mobile view.

 

Thanks! 

Link to comment

Add this code to Website > Website Tools > Custom CSS to keep same layout on mobile

@media screen and (max-width:767px) {
div#page-section-6542d228c6fbe635c6d117b7>.row>.span-4 {
    width: 33.3333% !important;
    float: left !important;
}

div#page-section-6542d228c6fbe635c6d117b7>.row>.span-8 {
    width: 66.66667% !important;
    float: left !important;
}

div#page-section-6542d228c6fbe635c6d117b7>.row>.span-8 .span-4 {
    width: 50% !important;
    float: left !important;
}
}

image.png.82b280cb6384cd5d318737bb655f0e74.png

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
  • 2 weeks later...

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.