• Resolved Chuckie

    (@ajtruckle)


    Will I have to make changes to my site due to the Font Awesome -> Fork Awesome change?

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Vova

    (@gn_themes)

    Hi @ajtruckle,

    in short – no.

    If you haven’t used FontAwesome directly (like this: <i class="fa fa-icon"></i>), you don’t need to change anything.

    If you did, then you need to replace fa classes with sui. Example:

    replace this:
    <i class="fa fa-plus"></i>
    
    with this
    <i class="sui sui-plus"></i>
    Thread Starter Chuckie

    (@ajtruckle)

    Yes, I have used the icons directly. In menus too.

    https://Www.publictalksoftware.co.uk

    I just don’t want to break the site in some unknown way.

    Plugin Author Vova

    (@gn_themes)

    You can use FontAwesome and Shortcodes Ultimate together. The only difference is that you’ll need to enqueue FA stylesheet yourself as it was removed from SU.

    Do not worry about conflicts as SU now uses its own CSS classes for icons. Actually, countless conflicts were the main reason for this change.

    Add the following snippet to the end of the functions.php file of your active theme:

    add_action( 'wp_enqueue_scripts', function() {
    	wp_enqueue_style( 'font-awesome', '//netdna.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css', false, '4.7.0', 'all' );
    } );
    Plugin Author Vova

    (@gn_themes)

    Or, you can just replace fa fa-icon class names with sui sui-icon if it’s easier for you.

    Most of my icons disappear when I change to “sui sui”. Any idea why that’s happening?

    Plugin Author Vova

    (@gn_themes)

    Hi Kenika,

    there are many possible reasons. I can’t say exactly without additional details.

    I see. What infos do you need. Do you need (admin) access to my site?

    Plugin Author Vova

    (@gn_themes)

    At least, show me the URL of your page with missing icons.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Fork awesome’ is closed to new replies.