Streaming live at 10am (PST)

How to hide a scroll bar? (Tried the element overflow:scroll 20px padding -20px margin)

Dear dev/design affionados,

I’m trying to hide a horizontal scroll in a MOBILE view of a carousel. I already tried the “set the element overflow: scroll 20px padding -20px margin” but it didn’t work.

Scroll down a tad on the front page of till you see:

Thanks for checking and really appreciate any help :slight_smile:

Here is my site Read-Only:


You’ll need to include some custom CSS to get the scrollbars hidden but retain functionality. There’s a write up that you can checkout here, but it should look like what I’ve included below:

  .div-block-186::-webkit-scrollbar {
    display: none;
  .div-block-186 {
    -ms-overflow-style: none;
    scrollbar-width: none;

Keep in mind this may lead to users not knowing that this section can be scrolled to the right, so it may be useful to either style the scrollbar so it works more nicely with your design or to look into another solution like a slider element (with multiple “slides” visible) or stacking the cards in this section on mobile.

@mikeyevin thanks a lot mate! This solved it. And thanks for the additional tips :wink:

1 Like