Web Analytics

Fill the form & Get Installation Support

Connect With Us

    Magento 2: How to set load custom font as preload?

    Generally, if you load font as preload, it will load first and it will help to increase site speed.

    So If you want to add custom font as preload, you need to perform settings as shown below:

    The first step is to set your font .woff or .woff2 file in your theme web/fonts folder.

    Then after you need to set that font in between head like below in default.xml layout file.

    Fill the below form if you have any Magento programming need.

      Recent Articles

      Author Info

      Author Image

      Magento Developer

      Hire T. Baldha

      Get a Free Quote

        /* second popup */

        Connect With Us