Jump to content

Make a carousel display more than one item in mobile

Recommended Posts

I've tried multiple codes I've found in the forum to fix this but can't seem to get it right. I want scrolling carousel on our home page to show multiple logos at a time and hide the arrows. Goodmerchsupply.com
Could it be possible that something else in my CSS could be breaking this?

I've tried:

/**
* Auto List Carousel
* Home Page
* Add Multiple Items on
* Mobile & Tablet
**/

section[data-section-id="123"]{
  //Tablet
  @media (max-width: 1024px) {
    .user-items-list-carousel__slides {
      grid-template-columns: ~"repeat(4,1fr)" !important;
    }
  }

  //Mobile
  @media (max-width: 767px) {
    .user-items-list-carousel__slides {
      grid-template-columns: ~"repeat(3,1fr)" !important;
    }
  }

  .mobile-arrows{
    display:none
  }
}

 

Thanks!!

Edited by Goodmerch
Added link
Link to comment
  • Replies 1
  • Views 1.3k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

@Goodmerch can you share a link to your site? The code you've used above includes a section that you'll need to update specific to your site - section[data-section-id="123"] needs to be replaced

If this helped you, please like or mark my solution as answer so others can scroll to it quickly 👆

Cass Aggett is a Squarespace website designer for go-getting women – no matter what stage of business.

WEBSITEINSTAGRAM

 

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.