how to add scrolling to category tree
-
hello.
I have to have several categories and subcategories configured since I use dokan, and I can’t let the seller set categories at will….
The tree becomes very large. How to add a scroll like the other filters?
thanks
Attachments:
You must be
logged in to view attached files.
Hello,
Regarding the available options regarding Widgets, you can go to Dashboard > Theme Settings > Product archive > Widgets > there you can find the available options that you can configure: https://snipboard.io/8OjLlA.jpg
Right now, for the Categories there is only a toggle function available named as “Toggle function for categories widget” which you can enable or disable accordingly to your choice.
Best Regards
Hello.
ok. I don’t understand why categories doesn’t have the scroll option…
Do you have code to add the scroll function (to category)?
Thanks
Hello,
There isn’t a defined Custom Code available for that but you can try using the following Custom CSS on your Site in this regard and paste it to Dashboard >> Theme Settings >> Custom CSS >> Global CSS section, if this works out for you:
.categories-accordion-on .widget_product_categories .product-categories {
overflow: hidden !important;
overflow-y: auto !important;
-webkit-overflow-scrolling: touch !important;
max-height: 55vh !important;
scrollbar-width: thin !important;
}
But remember as it is added in somewhat forcefully so its scrolling bar would appear as the standard one and it’s right now not possible to modify its appearance in terms of styling. Hope you can understand!
Best Regards
i will try it. thanks for the answer and you can close the thread.
Most Welcome!!!.
I’m so happy to hear you are pleased with the Theme and Support. XTEMOS strives to deliver the best customer experience, and it makes our day to hear we have accomplished that.
We count ourselves lucky to have you as a customer. You can always reach us at any time. We are always here to help you.
Thanks for contacting us.
Have a great day.
Topic Closed.
Best Regards.
The topic ‘how to add scrolling to category tree’ is closed to new replies.