I am using the search and filter pro plugin on a page I am developing here:
[url removed, login to view]~corrimal/members-directory/
In the right sidebar I have some radio buttons which I would like to eventually work like buttons or a menu. I will make the radio inputs invisible but I would like the items to stay active when selected and that is all I want in this project.
You can see I have a hover state working but I can't get the active or visited [url removed, login to view] other words when you click fro example "Business services" it should stay a certain background-color to show it is selected. I don't think you can do with pure CSS, could be wrong.
I have tried jquery 'add and remove class' but couldn't get right.
The links I have put in don't have a url and are simply to add styles. I thought I was onto something with this but could get working in wordpress:
[url removed, login to view]
I can tell you exactly where the code is in the plugin which I am assuming you will need to add id or class.
Sure this will be really easy for jquery expert. My budget is only $30 for this becuase its not that important and will just leave if too hard.
Hoping someone can do this pretty quickly and easily.
Please look at the code before replying..
Hi I think you want to add the active class to the selected item. Current the first item has an active class which makes it yellow. So do you want to rotate the active class depending upon the click? Am I right?