Search found 3 matches

Go to advanced search

by Ask A Peer
Mon Jan 19, 2015 8:18 pm
Forum: Issues
Topic: Changing icon colors on click/tap
Replies: 4
Views: 174
 
Jump to post

Changing icon colors on click/tap

In case someone needs this, here's what I did to make it work: 1) defined a custom background in the css stylesheet. ui-btn-icon-right:after is the default class that needs to be overridden (it may be -left, -top, etc. in your case) .ui-btn-icon-bookmarked.ui-btn-icon-right:after{ background-color: ...
by Ask A Peer
Mon Jan 19, 2015 5:46 pm
Forum: Issues
Topic: Changing icon colors on click/tap
Replies: 4
Views: 174
 
Jump to post

Changing icon colors on click/tap

Thanks for your help. I've spent over 2 hours with no luck... :( I can change the class name in the selected listitem to another icon. However since I would need to change the icon color rather than the icon type, I created a custom css icon in the style page, and replaced the class name ui-icon-sta...
by Ask A Peer
Sun Jan 18, 2015 6:27 pm
Forum: Issues
Topic: Changing icon colors on click/tap
Replies: 4
Views: 174
 
Jump to post

Changing icon colors on click/tap

I have a list item and would like to dynamically change the icon color from the default gray to another color whenever the user taps on that list item.

I can use javascript but I can't figure out a way to change the icon color, because no color option seems available for the icon

Thank you!

Go to advanced search