• Resolved Chuckie

    (@ajtruckle)


    I recently upgraded to your latest version. No issues.

    But see my Gutenberg page I have linked to? Towards the bottom is a bulleted list of languages.

    I was trying to insert a language icon in front of each name instead of a bullet:

    <i class="sui sui-language"></>

    Can’t work out how to do it.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Vova

    (@gn_themes)

    Hi @ajtruckle,

    First, your code is invalid, see the last part </>.

    Second, you can’t just add the <i> tag to display an icon. You also need to enqueue the icons stylesheet. Add the following snippet to the functions.php file:

    if ( function_exists( 'su_query_asset' ) ) {
      su_query_asset( 'css', 'su-icons' );
    }
Viewing 1 replies (of 1 total)

The topic ‘Using the language icon’ is closed to new replies.