You can extend your set of glyphicons by importing fontAwesome libraries in your custom SASS directory.
A little documentation about how to set this up:
https://fontawesome.com/v4.7.0/get-started/
and
https://fontawesome.com/how-to-use/on-the-web/using-with/sass
Then, after implementing the needed parts in your project directory, you can just use classess on page elements to display various icons, for instance; you can add an empty container with the following classess:
fas fa-medkit fa-lg
Which will display the following one: https://fontawesome.com/icons/medkit?style=solid
(Note that the fa-lg class isn't actually needed, it just sets the size of the icon)
Edit: Also, when you want to display a specific icon before a text on your navigation items, consider adding a class to the text in button and using the :before selector.
When setting the icon for your menu item you can select images instead. Changing on hover is something you can’t do with default functionality, you would need to work around the default navigation.
In images you’re free to add icons or larger resolution images, effectively allowing you to add your own icons:
Hope this helps
Hi Franz,
This is a bit of a pain atm to do, there are a lot of downfalls of using default layouts and nav items in mendix.
create your own layout and use css and the :before selector to add your icons, then use some selector-wrap to show which one is selected.
this is how we do it with wizards.
@for $i from 1 through 7 {
.ap_wizard.active#{$i} .ap_wizardstep:nth-child(#{$i}) {
background-color: red;
}
}