Streaming live at 10am (PST)

Hide scrollbars on div.. No code I've tried seems to help!

So I just want to hide the scrollbars on a specific window (div). I have no problem styling or customizing the main pages scrollbars but when a smaller div like in the image below is set to scroll, those don’t seem to take on the css given to it. I don’t know why this is happening.

Would appreciate any help! I’m just curious about this because on PC it looks horrible. Mac is never an issue, just PC and certain browsers. If I can’t get this resolved it is not the end of the world but I figured I would reach out to you guys and seek a solid answer to this.

I have tried using these here:

.preview-window::-webkit-scrollbar { 
display: none!important; 

var parent = document.getElementById('template-column-right');
var child = document.getElementById('preview-wrapper'); = child.offsetWidth - child.clientWidth + "10px";

I just need this fixed on the Templates CMS pages (Custom Code Section)
Here is my share link:

Thanks in advance!


:thinking: This code worked for me in a project to hide some horizontal scrollbars.


Notice that you need a space after display:none and before !important. Did you ever get this working?


Thanks Matthew! I’m going to see if this one works!

Aces! worked first time round. Lovely