remove FontAwesome

Home Forums Iconic One Pro Support remove FontAwesome

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #6237
    sversch
    Participant

    Hello,
    how do I remove FontAwesome script from my website to improve performance?

    ../wp-content/themes/iconic-one-pro/fonts/fontawesome-webfont.woff2?v=4.6.3

    #6238

    Hi,

    It is a required file for social icons in the header and author profile. As it is a font file and stored in the theme, it does’t have much effect on performance.

    If you still wish to remove it then the function is located at

    Theme folder -> inc -> io-pro-functions.php

    lines 143-146 (you can remove these lines)

    line 142 is

    //Font Awesome integration

    #6245
    sversch
    Participant

    Thanks, now I have (as expected) a block-icon as the FontAwesome font is not shown.

    How can I edit these to “>” normal text or remove them entirely from the menu?

    Example

    #6246

    To remove the sub menu indicator, remove the following CSS code from style.css
    starting line 1548

    .themonic-nav li a:after {
    	font-family: 'FontAwesome';
    	font-style: normal;
    	speak: none;
    	font-weight: normal;
    	content: "\f0d7";
    	margin-left: 5px;
    	-webkit-font-smoothing: antialiased;
    }
    #6247
    sversch
    Participant

    Didn’t work. I disabled and removed cache, cleared my browsing history and cache files. Nope.

    Edit: Cloudflare was the problem. It works

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.