Question:I’m trying to create a dropdown menu for a gallery filter on my WordPress website. The issue is, I’m using a portfolio widget that I got with my theme and it doesn’t offer a dropdown filter menu. And since I have quite a few filter options it doesn’t look very nice. This is how it is in HTML:
Answer:You can use
:beforeto create a button. I made a codepen
If you have better answer, please add a comment about this, thank you!