Home Forums General Issues Give "Stylised UI" elements a class Reply To: Give "Stylised UI" elements a class

  • Okay guys, just made it a little bit less complicated now, no javascript needed. Just a ACF (modern) select field, added all my icons data like this:

    <i class="icon-bucket">icon-bucket</i>
    <i class="icon-gradient">icon-gradient</i>
    <i class="icon-gradient2">icon-gradient2</i>

    Only three for this example, of course there is a long, long list of more or less 800 icons … but loads super fast 🙂 . I then just load the css of my iconfont in my admin.css and put some tiny additional CSS and what I have now is a very nice icon-picker for my wordppress backend:

    Icon picker