Jump to content

Change List Carousel to show more images on mobile

Recommended Posts

  • Replies 3
  • Views 989
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

57 minutes ago, TestValleyPkg said:

Site URL: https://www.testvalleypkg.co.uk

Hi

I was hoping someone can help me change the carousel that is on the home page (image attached) so that on mobile you see multiple images in the list next to each other, rather than just one image and navigation buttons quite far below. 

Thanks

Screenshot 2021-12-10 at 09.33.26.png

Screenshot 2021-12-10 at 09.33.32.png

Try adding to Home > Design > Custom Css

section[data-section-id="61a92a2e19e7d3402c3551af"] .user-items-list-carousel__slides {
  grid-template-columns: repeat(2, 1fr) !important;
  grid-gap: 0px !important;
}

Let me know how it works on your site

Press 👍 or mark this answer as solution to help another one too

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
2 hours ago, bangank36 said:

Try adding to Home > Design > Custom Css

section[data-section-id="61a92a2e19e7d3402c3551af"] .user-items-list-carousel__slides {
  grid-template-columns: repeat(2, 1fr) !important;
  grid-gap: 0px !important;
}

Let me know how it works on your site

Press 👍 or mark this answer as solution to help another one too

Hi, thanks for responding! Sadly this didn't change anything. 

 

Thanks

Dan

Link to comment
On 12/10/2021 at 7:46 PM, TestValleyPkg said:

Hi, thanks for responding! Sadly this didn't change anything. 

 

Thanks

Dan

Add this to Settings > Advanced > Code Injection > Header > Then save & reload the site

<style>
  @media screen and (max-width:767px) {
  .user-items-list-item-container[data-section-id="61a92a2e19e7d3402c3551af"] ul {
    grid-template-columns: repeat(2,1fr) !Important;
}
  }
</style>

 

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

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.