Jump to content

Use a reel slideshow on desktop, and simple slideshow on mobile

Recommended Posts

  • 11 months later...

section[data-section-id="6108bec0e3a3c73804194bf7"] {
    display:block;
}
section[data-section-id="61258a40711e8b5459fb0271"] {
    display:none;
}

@media screen and (max-width: 768px) {
    section[data-section-id="6108bec0e3a3c73804194bf7"] {
        display:none;
    }
    section[data-section-id="61258a40711e8b5459fb0271"] {
        display:block;
    }
}

You can add this to your Custom CSS in the design menu. these data-section-id are the ids for your two sections. (I found them using the squarespace ID finder, you can also look them up in teh source of the webstie). 

  • The first two turn the section on (block) and off (none) for the desktop version
  • the second two kick in when the width is up to 768px (iPad width), and invert that pattern

this should help you.

Dave Hart. Software/Technology Consultant living in London. buymeacoffee 

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.