I made it a little bit better, this way the Widget title doesn’t get hidden when scrolling
body #woocommerce_product_categories-3 .product-categories{
height:280px;
overflow:auto;
}
#woocommerce_product_categories-3 .product-categories::-webkit-scrollbar {
width: 3px;
}
#woocommerce_product_categories-3 .product-categories::-webkit-scrollbar-track {
background-color: rgba(0,0,0,.15);
}
#woocommerce_product_categories-3 .product-categories::-webkit-scrollbar-thumb {
background-color: rgba(0,0,0,.25);
}
#woocommerce_product_categories-3 .product-categories::-webkit-scrollbar-thumb {
background-color: rgba(0,0,0,.25);
}
It only target the UL element.
Thank you so much