Dawn theme: Multicolumn section with swipe on any device

Hello Shopify community!

I’ve created a new section (for testimonials) by duplicating the multicolumn section code.

Everything works great, but the cherry on top would be to “enable swipe on mobile” on DESKTOP as well. I.e. the section has swipe enabled no matter the screen size. How do I achieve this?

My website is password protected but I can send preview link over private message.

I’m using the dawn theme.

Your help is much appreciated :slightly_smiling_face:

1 Like

Quick take , for just the slider feature probably just remove the medium-hide class

https://github.com/Shopify/dawn/blob/main/sections/multicolumn.liquid#L96

https://github.com/Shopify/dawn/blob/main/sections/multicolumn.liquid#L108

Though even if that’s what you mean you will want to still check for pointer interaction to hide such things.

https://css-tricks.com/touch-devices-not-judged-size/

@LinnN

can you please send store url

Hi @PaulNewton , thanks for your input! I tried removing the medium-hide class on both div tags, but I still see the 3 columns instead of a slider on desktop.