Enable Swipe for Collection List on Desktop

Topic summary

A user seeks to enable horizontal swiping for a collection list on desktop, similar to the mobile swipe functionality. Screenshots show the current static grid layout that needs to become swipeable.

Solution Provided:

  • A community member shares complete Liquid code to modify the collection-list.liquid file, enabling desktop swipe functionality.
  • The solution works successfully but creates a padding/spacing issue at screen edges.
  • A follow-up code snippet resolves the padding problem.

Additional Challenges:

  • The original poster later needs vertical scrolling on specific pages (browse-by-brand) while keeping horizontal swipe on the homepage. They ultimately solve this by reorganizing the page differently.
  • Another user on the Spotlight theme (not Dawn) encounters white/invisible swipe buttons after implementing the code.
  • The solution is confirmed to support Dawn theme version 15.2.0.

Current Status:
The thread remains active with the developer offering to send collaborator invitations to users needing theme-specific customizations for proper implementation.

Summarized with AI on November 2. AI used: claude-sonnet-4-5-20250929.

Thanks so much! Works perfectly!

The only problem is the spacing/padding from edge of the screen.

Can you please help me get the padding to the same as what it was / originally?