(Squarespace) How to change Portfolio Hover to Autoplay Carousel on Mobile

To change Portfolio Hover to Autoplay Carousel on Mobile, you can do these.

  • Use Portfolio Hover
  • Use code to add a Portfolio Carousel
  • Use CSS to hide Autoplay Carousel (Desktop) – hide Hover (Mobile)

#1. First, follow this guide to add Portfolio Carousel.

#2. Find ID of Portfolio Hover & Carousel.

In my example, we will have:

Portfolio Hover

Portfolio Autoplay Carousel (use Code Block)

#3. Use this code to Custom CSS

/* Hide Autoplay Carousel on Desktop */
@media screen and (min-width:768px) {
    section[data-section-id="6821eec05a6acf43f1f6e4fd"] {
        display: none !important;
    }
}
/* Hide Hover on Mobile */
@media screen and (max-width:767px) {
    section[data-section-id="67f782d36862e60e59dc2681"] {
        display: none !important;
    }
}

#4. Result

Desktop

Mobile

1 Like