Edit SideBar Category Widget in Davinci

#1
Hi Admin - I would like to change the sidebar displayed in the category pages of my products. I have alot of categories and would like to display them in a custom format, how do I do it? Example - How do you custom edit the left side bar in the following link https://hokagestore.com/cosplay_kids/ - This also means I don't want to use the inherited category names
 

Ekaterina Sayapina

Administrator
Staff member
#2
Hi Admin - I would like to change the sidebar displayed in the category pages of my products. I have alot of categories and would like to display them in a custom format, how do I do it? Example - How do you custom edit the left side bar in the following link https://hokagestore.com/cosplay_kids/ - This also means I don't want to use the inherited category names
Hello,

Please add this code snippet to Customization => Head => CSS style:

.tab-content .content h3{line-height: 1.5;}
#category-list .product_cat .cat-item .children{display:none;}
#category-list .product_cat .current-cat-parent .children, #category-list .product_cat .current-cat .children, #category-list .product_cat .current-cat-ancestor .children{display:block;}
.mobile-main-menu .cat_menu-list .cat-item .children{display:none;}
.mobile-main-menu .cat_menu-list .current-cat-parent .children, .mobile-main-menu .cat_menu-list .current-cat .children, .mobile-main-menu .cat_menu-list .current-cat-ancestor .children{display:block;}

Please let me know if this works for you.
 
Top