Notice: These forums are now retired and closed. For active support, please Submit a Ticket or visit our official WordPress.org community pages.
Kadence Theme | Kadence Blocks | Starter Templates | WooCommerce Email Designer | Ascend | Virtue | Pinnacle

Portfolio Grid template – +/- icons on filter header

Home / Forums / Ascend Theme / Portfolio Grid template – +/- icons on filter header

This topic is: Resolved
[Resolved]
Posted in: Ascend Theme
February 24, 2020 at 8:32 am

Hey support

I’ve set up a page using the Portfolio Grid template, one of the features of which is a category filter menu. On mobile, the menu becomes collapsible and works in a similar way to the Kadence blocks accordion. Initially, only the filter title is showing and you have to click it to expand the menu and reveal the filter categories. To make it clear that there is a click function there, I wanted to add a +/- icon on the right hand side of the filter title (the same way the accordion block works). I modified the accordion code to create the initial ‘+’ sign using the before & after properties of the ‘a’ tag, but I’m stuck trying to toggle between the two icons on expand/collapse.

Can you help at all?

  • The forum ‘Ascend Theme’ is closed to new topics and replies.