I would like to make the Portfolio Filter Dropdown Menu sortable.
I used the following code to show all the filters and center them :
.portfolio-filters-inline ul ul {
display: list-item !important;
text-align: center;
}
but all my sub-categories appear below the main categories, and on separated lines. Is there a way to make that second level appear based off what (main) category we select? And also centered but at the same level/on one line?
---
For example :
A is a category, with a1 and a2 as sub-categories, and B is another category with b1 and b2 as sub-categories
Hi,
I would like to make the Portfolio Filter Dropdown Menu sortable.
I used the following code to show all the filters and center them :
but all my sub-categories appear below the main categories, and on separated lines. Is there a way to make that second level appear based off what (main) category we select? And also centered but at the same level/on one line?
---
For example :
A is a category, with a1 and a2 as sub-categories,
and B is another category with b1 and b2 as sub-categories
Right now they appear as follow :
A B
a1
a2
b1
b2
I would like to have :
A B
Then, when we click on A we see :
A B
a1 a2
I hope this makes sense.
Thank you for you help.