How to remove vertical scroll bar from Shopify.

Solved
Highlighted
Tourist
7 0 3

BarBar

 

How can I remove the vertical scroll wheel from my Shopify store entirely, while maintaining scrollability. I had done it on a older Shopify store I ran 2 years ago, but forgot how I had achieved it. I am using the Narrative theme.

1 Like
Highlighted
Shopify Partner
2242 488 630

hey

 

please share your shop url & password.

 

Thanks!

If helpful then please Like and Accept Solution.
Do you need custom changes on store ? Hire me.
Feel free to Contact me on dmw.webartisan@gmail.com
Follow us on Instagram @dmw.webartisan
0 Likes
Highlighted
Shopify Partner
87 10 13

Hmmm, 

Was useful? then please like and accept as solution
Not really sure how to improve your store? Ask us at porrasc940@gmail.com
0 Likes
Highlighted
Tourist
7 0 3

https://dozen-acres.myshopify.com/ 

 

Password: dozenacres

0 Likes
Highlighted
Shopify Partner
87 10 13

Hi @FariValadkhani, to hide the scroll bar just add this code at the bottom of your theme.sccs.liquid

 

::-webkit-scrollbar {
    display: none;
}
Was useful? then please like and accept as solution
Not really sure how to improve your store? Ask us at porrasc940@gmail.com
0 Likes
Highlighted
Tourist
7 0 3

Where In my code can I do that?

1 Like
Highlighted
Shopify Partner
87 10 13

please go to themes -- Actions-- Edit code- then search for theme.sccs.liquid and paste the code at the final of the file

 

::-webkit-scrollbar {
    display: none;
} 

if this solved your problem please accept as solution 

Was useful? then please like and accept as solution
Not really sure how to improve your store? Ask us at porrasc940@gmail.com
0 Likes
Highlighted
Tourist
7 0 3

Tried adding that, but the bar is still present.

1 Like
Highlighted
Shopify Partner
87 10 13

This is an accepted solution.

Did you add that the final of the file and hit save?  please don't forget to refresh your site after do it.

Captura de Pantalla 2020-05-09 a la(s) 20.22.03.png

 

Was useful? then please like and accept as solution
Not really sure how to improve your store? Ask us at porrasc940@gmail.com
1 Like
Highlighted
Tourist
7 0 3

Ah, I had put it before the final bracket. Thank you.

0 Likes