Page 1 of 1

It is possible to add an custom icon to the list of available icons for a button?

Posted: Sun Apr 28, 2013 4:03 pm
by Rafael Martínez

We need to set a custom icon for the buttons of our project.


It is possible to add an custom icon to the list of available icons for a button?

Posted: Sun Apr 28, 2013 5:07 pm
by Illya Stepanov

Hi Rafael, unfortunately you can't add a custom icon to the list of available icons for a button.
But you can add a custom picture into the button. You can do it with CSS.


It is possible to add an custom icon to the list of available icons for a button?

Posted: Sun Apr 28, 2013 5:13 pm
by Rafael Martínez

Some example? How can I add a custom CSS in the page?


It is possible to add an custom icon to the list of available icons for a button?

Posted: Mon Apr 29, 2013 10:06 am
by Kateryna Grynko

Hi Rafael,

To change icon:

  1. Choose List Item
  2. Click "More properties" on properties panel
  3. Add data-icon property with value = "star"
    Image
    On JQM site you can find the full list of icons:
    http://jquerymobile.com/demos/1.2.0/d...

It is possible to add an custom icon to the list of available icons for a button?

Posted: Fri Dec 13, 2013 6:39 am
by Patrick Kelly

Can we reopen this? There really wasn't a proper answer given to Rafael and I feel like a good amount of users might want to know how to add their own icons to a button. How can you do it, using JavaScript and/or css, preferably the former.


It is possible to add an custom icon to the list of available icons for a button?

Posted: Fri Dec 13, 2013 7:32 am
by Kateryna Grynko

Hi Patrick,

You can use CSS to add a component background: https://getsatisfaction.com/apperyio/...


It is possible to add an custom icon to the list of available icons for a button?

Posted: Fri Dec 13, 2013 6:02 pm
by Maryna Brodina

Hello Patrick! Could you clarify are you trying to change icon for button or list item?