New Landing How can we help? Themeforest Theme Support Flexform Disable loading of Font-awesome.css

Viewing 4 posts - 1 through 4 (of 4 total)
  • Posted in: Flexform
  • #9373
    jowalski
    Member
    Post count: 14

    Is there a way I can disable loading font-awesome.css?

    I don’t use it and it takes a long time to load.

    Thanks!

    #9617
    Cosmin – SUPPORT
    Member
    Post count: 3851

    Hi,

    You’d need to edit functions.php and remove or comment out lines 130 and 136 – that’s where the file is registered and loaded in the framework.

    Regards,

    ————————————————————————————————————

    Cosmin
    Support Assistant

    #9727
    jowalski
    Member
    Post count: 14

    Thanks!

    Is there something I can put in my functions.php in the child theme folder to override the registration of font-awesome in the main functions.php.

    I’d like to handle it in a way that persists through theme updates.

    #9900
    Cosmin – SUPPORT
    Member
    Post count: 3851

    I’d suggest creating a mini-plugin instead. Here you go, copy to Notepad/TextEdit, save as a .php file, archive it as a .zip and you can install it in WordPress:

    Regards,

    ————————————————————————————————————

    Cosmin
    Support Assistant

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register