📱 Mobile Horizontal Scroll for 3+ Boxes (No Custom JS)

Sometimes we design 3 (or more) feature / pricing / selection boxes that look perfect on desktop…

But on mobile?

They stack vertically :downcast_face_with_sweat:
Which kills the UX — especially when you want users to compare options side-by-side.

Here’s a simple CSS-only solution to make the container horizontally scrollable on mobile :backhand_index_pointing_down:

2026-02-16_09-54-31


:white_check_mark: Use Case

Works great for:

  • Product option selectors
  • Pricing comparisons
  • Feature boxes
  • Bundle selections
  • Variant-style UI

:puzzle_piece: Step 1 — Add class to MAIN container

Add this class to your container:

overflowhidden

:puzzle_piece: Step 2 — Add class to INNER container

Select the container wrapper that holds your 3 boxes.

Add class:

fixedTablewidth

:bullseye: Step 3 — Add this CSS

Paste inside Funnel CSS:

@media screen and (max-width: 768px) {

    .overflowhidden {
        overflow: hidden;
    }

    .container-wrapper.container_206421 {
        width: 100% !important;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .fixedTablewidth {
        min-width: 740px;
    }

}

:tada: Result (On Mobile)

:white_check_mark: Boxes stay in one row
:white_check_mark: Smooth horizontal swipe
:white_check_mark: No layout breaking
:white_check_mark: No JS required
:white_check_mark: Works with interaction states
:white_check_mark: Works with variation selections


:light_bulb: Why This Works

Funnelish wraps elements inside container layers.

Instead of forcing flex behavior, we:

:check_mark: Lock inner width
:check_mark: Enable scroll on wrapper
:check_mark: Prevent outer overflow

So layout stays stable but becomes swipeable.


:fire: Pro Tip

Adjust this value based on number of boxes:

min-width: 740px;

Example:

Boxes Width Suggestion
3 600–750px
4 800–1000px
5 1000px+

If anyone wants:

:backhand_index_pointing_right: Snap scroll
:backhand_index_pointing_right: Partial peek effect
:backhand_index_pointing_right: Auto scroll

Let me know :+1: