This topic has 7 replies, 3 voices, and was last updated 2 years, 6 months ago ago by Sadikul Islam
How do I make the categories on the sidebar closed by default on the shop page??
See the screenshot on the private content area.
Hello,
Go to Theme Options > WooCommerce > Shop elements > Categories > disable option “Open Product Categories Widget By Default”.
Regards
Thanks
Is there any option to make that dropdown icon comes before the text? and is it possible to change the dropdown icon?
Hello,
Could you provide a screenshot and URL of your site?
Regards
See the screenshot in the private content
1/
move it on left side
.widget_product_categories.sidebar-widget ul .open-this, .sidebar-widget ul .open-this, .widget_product_categories.sidebar-widget ul .caret-icon, .sidebar-widget ul .caret-icon {
position: static;
float: left;
text-align: left;
justify-content: flex-start;
}
2/ change default icon (for example +/-)
.widget_product_categories.sidebar-widget ul .open-this:before, .sidebar-widget ul .open-this:before, .widget_product_categories.sidebar-widget ul .caret-icon i:before, .sidebar-widget ul .caret-icon i:before {
content: "\e910";
}
.widget_product_categories.sidebar-widget ul .opened > .open-this:before, .sidebar-widget ul .opened > .open-this:before, .widget_product_categories.sidebar-widget ul .opened > .caret-icon i:before, .sidebar-widget ul .opened > .caret-icon i:before {
content: '\e912';
}
XStore Icons you may find here -> https://xstore.8theme.com/xstore-icons
Regards
I will try this, thank you so much for the code.
The issue related to '‘How do I make the categories closed by default?’' has been successfully resolved, and the topic is now closed for further responses