• Resolved dbmediasviluppo

    (@dbmediasviluppo)


    Combine loading of css just broke the loading of font-awesome fonts on my site.
    I had to disable Combine loaded CSS for font-awesome css to fix it
    (.*?)font-awesome(.*?).css

    The problem is that probably the combined css was on another level and my site was looking for fonts on the wrong subdirectory
    Example:

    /wp-content/plugins/wp-font-awesome/font-awesome/css/fonts/fa-solid-900.woff2
    instead of
    /wp-content/plugins/wp-font-awesome/font-awesome/fonts/fa-solid-900.woff2

    I have asset cleanup v 1.3.4.0, on previous versions my fonts where loading correctly.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Gabe Livan

    (@gabelivan)

    @dbmediasviluppo thank you for reporting a possible bug and my apologies for this inconvenience! I’ve been making lots of tests with Font Awesome to make sure that nothing like that happens and never had such an issue. Perhaps there’s something about your website (or other similar ones, you never know) that has something which interferes with the functionality. Do you remember updating wp-font-awesome to a newer version? I’ll check your website and the CSS syntax (this should work with any syntax) to make sure everything is alright there. I’ll get back to you. Thanks for using the plugin and hopefully you’ll find it useful for a long time!

    Thread Starter dbmediasviluppo

    (@dbmediasviluppo)

    I use howes theme with wp-bakery for layout editing that includes font awesome 4.
    Additionally I’m using the “WP Font Awesome” plugin for font awesome 5 support

    After the update they both stopped working as you can see in the screenshot:
    https://ibb.co/2MhS02L

    Just removing the /css part fixes the urls

    Plugin Author Gabe Livan

    (@gabelivan)

    @dbmediasviluppo thanks for the info! Indeed, that’s a bug and nothing is wrong with your WP environment at all. I’ve downloaded “WP Font Awesome” plugin and indeed, in my tests the fonts were not loading when the CSS was combined due to an extra forward slash added to the relative path (it was // instead of /). I’ve quickly updated the same tag. Please re-download the plugin and try again. A new tag will also be released with the fix.

    PS: If you will ever be interested in the Pro version, write to me on private to give you a hefty discount. I always show appreciation to anyone reporting genuine problems with the plugin besides fixing it as soon as possible.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Last update broke my font-awesome fonts loading’ is closed to new replies.