Jump to content

Four images in two columns side by side mobile view

Recommended Posts

Site URL: https://ukulele-pug-le4k.squarespace.com/shop-rein

I know this question has been asked many times and I have found a few good answers, but no solution to my current problem.

I'm trying to place four images within two columns in mobile view, and I used the following code to do it:

@media only screen and (max-width: 767px) {
  section[data-section-id="625c27d3f7aef559cbb62a98"]
    .sqs-layout
    .span-12
    .span-3 {
    width: 50% !important;
    float: left !important;
  }
}

I want the fourth image to be next to the third, and I'm having trouble finding the right code. 

Here is a screenshot of what it looks like now:

image.thumb.png.a36dd476d43b8111ec92d4c8e648392e.png

 

I hope someone can help me 🙂

Link to comment
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

It looks like your code made section 50% width only.

It looks like not possible to solve this. You can consider using Gallery Block to add Images, then we will give the code to make them side by side on mobile

 

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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

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.