Jump to content

How do I put images side-by-side on mobile (they're linked to page anchors)

Recommended Posts

Site Url: chapter.house

Password: libraryofchapterhouse

I'm trying to get the image links from the first section to display side-by-side on mobile. So far my limited CSS knowledge has only left me tinkering and frustrated. Ideally I'd also be able to replicate this on the store product page as well.

 

Any help!? 

 

Thanks!

 

Link to comment
  • Replies 2
  • Views 124
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

18 hours ago, ID01 said:

Site Url: chapter.house

Password: libraryofchapterhouse

I'm trying to get the image links from the first section to display side-by-side on mobile. So far my limited CSS knowledge has only left me tinkering and frustrated. Ideally I'd also be able to replicate this on the store product page as well.

 

Any help!? 

 

Thanks!

 

I have one suggestion to set your image links

@media only screen and (max-width: 767px) {
  section[data-section-id="616b3d98f2627a636d30ab69"]
    .content
    .sqs-layout
    > .sqs-row
    > .sqs-col-12
    > .sqs-row:last-child {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }

  section[data-section-id="616b3d98f2627a636d30ab69"] .sqs-row:before,
  section[data-section-id="616b3d98f2627a636d30ab69"]
    .sqs-row
    > .span-2:first-child {
    display: none;
  }
}

Let me know if it works properly on your site.

P.s: It seems complicated to select the right block to set Css and i am still looking forward to having another better solution from community

Support me by pressing 👍 if this useful for you

Edited by bangank36

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment

My testing result

image.png.110c82abd5d49bd4f66256643bab9be9.png

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, 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.