22
Views
3
Comments
Bottom Bar changed color when clicked
Question
Application Type
Reactive
Service Studio Version
11.54.66 (Build 63364)
Platform Version
11.29.0 (Build 43552)

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!

buttonbar.oml
2020-11-25 10-45-32
Mostafa Othman
Champion

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

buttonbar_Modifiied.oml
UserImage.jpg
budang haba

it works!!! but is there a way i can change it the icon color too?

2020-11-25 10-45-32
Mostafa Othman
Champion

Yes, you can by doing next two steps

- Remove color CSS from three icons into your block

- Change CSS class as per screenshot below 

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.