I have a buttom bar using block that i put in footer. is there a way i can change the color of the icon and the bg of the bottom bar when i clicked it? so just to show more emphasize? thanks!
Hello,
You can do this by using local variable to give you indicator which icon is clicked and apply condition for CSS class for Icon container to change background color.
Kindly find modified OML to check implementation
it works!!! but is there a way i can change it the icon color too?
Yes, you can by doing next two steps
- Remove color CSS from three icons into your block
- Change CSS class as per screenshot below