How to collapse sub categories and make it available to expand on click in modern layout of categories page?
do you have any jquery skills, or do you just want someone to provide one for you.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
No I don't have but I'll try to learn
How to do it?
Step by Step for a clickable collapsible categories in modern layout of categories page
Two assumptions made -
Assumption 1 - you can copy and paste the changes correctly.
Assumption 2 - you are not using expandable categories plugin.
if you are using it already clone the plugin and name it something else.
1) download expandable categories plugin
2) change the expandablecategories.css file in the design folder of the plugin.
change ALL instances of ul.PanelCategories to ul.CategoryList
change ALL instances of center to left
3) In the js/expandablecategories.js
4) in class.expandablecategories.plugin.php
change the word Base to CategoriesController
and comment out the if statement and the closing } of the if statement , it is not needed now, after controller is changed.
expanded one parent