Skip to content

Instantly share code, notes, and snippets.

@mmarj
Created June 29, 2020 15:32
Show Gist options
  • Save mmarj/bf90fed7991c1e907fe4123970bdc76d to your computer and use it in GitHub Desktop.
Save mmarj/bf90fed7991c1e907fe4123970bdc76d to your computer and use it in GitHub Desktop.
Make Dokan Theme Category Menu Scrollable with simple CSS
/** Make Dokan theme Category Scroll-able **/
#cat-drop-stack ul{
height:250px; width:auto;
overflow:hidden; overflow-y:scroll;
}
#cat-drop-stack ul::-webkit-scrollbar {
-webkit-appearance: none;
width: 7px;
}
#cat-drop-stack ul::-webkit-scrollbar-thumb {
border-radius: 4px;
background-color: rgba(0,0,0,.5);
-webkit-box-shadow: 0 0 1px rgba(255,255,255,.5);
}
#cat-drop-stack ul::-webkit-scrollbar-track {
box-shadow: inset 0 0 5px grey;
border-radius: 3px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment