Replace FontAwsome Icon



  • So in the past I have replaced fontawsome icons with my own like so:

    .fa-map:before
      content ''
      background url('~assets/route.svg')
      width 30px
      height 30px
    

    This method works great when running in on my browser using quasar dev ios but when I run this on my actual device by doing a build and opening up XCode to run on my IPhone the icons for the old font awesome are there plus my replacement ones.

    See Below
    0_1499135350419_Screen Shot 2017-07-03 at 7.28.30 PM.png



  • So I guess you need to make sure to add !important after content. It doesnt need it on chrome emulator but on the actual device it does

    .fa-map:before
      content ''!important
      background url('~assets/route.svg')
      width 30px
      height 30px
    

Log in to reply
 

Looks like your connection to Quasar Framework was lost, please wait while we try to reconnect.