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

    (@asadkn)

    There’s likely some other plugin converting the URLs in the first place. Elementor does not use fully qualified URLs in the fontawesome files so it’s not the default Elementor files.

    This isn’t happening from debloat plugin.

    Just installed the plugin and love it. Getting the webfont URL issue too when activating the plugin. Solved temporarily by adding fonts to head. I’ll try debug later today and see what’s causing it, might help others.

    Example:

    @font-face{font-family:icomoon;src:url(“https://www.domain.com/wp-content/themes/salient/css/build/style.css../fonts/icomoon.eot?v=1.2″);src:url(“https://www.domain.com/wp-content/themes/salient/css/build/style.css../fonts/icomoon.eot?#iefix&v=1.2″) format(“embedded-opentype”),url(“https://www.domain.com/wp-content/themes/salient/css/build/style.css../fonts/icomoon.woff?v=1.2″) format(“woff”),url(“https://www.domain.com/wp-content/themes/salient/css/build/style.css../fonts/icomoon.ttf?v=1.2″) format(“truetype”),url(“https://www.domain.com/wp-content/themes/salient/css/build/style.css../fonts/icomoon.svg#icomoon?v=1.2″) format(“svg”);font-weight:400;font-display:block;font-style:normal;}

    • This reply was modified 3 years, 4 months ago by Will McLean.
    • This reply was modified 3 years, 4 months ago by Will McLean.

    Hi there. I am also suffering from this symptom.
    I think this is being done by FontAwesome’s css and webfont directory structure.

    For example, if FontAwesome is bundled with your theme, the resources will be placed as follows
    https:exsample.com/wp-contents/themes/exsample-theme/css/fontawesome.css
    https:exsample.com/wp-contents/themes/exsample-theme/webfont/fontawesome.woff

    Then, in fontawesome.css, add the relative path “. /webfont/fontawesome.woff” is loaded as a relative path in fontawesome.css.
    I think this is why this is happening.

    If this is possible, please consider it.
    Best Regards.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘404 error on webfonts’ is closed to new replies.