[Resolved] Font Awesome iOs issue

Home Forums Support [Resolved] Font Awesome iOs issue

Home Forums Support Font Awesome iOs issue

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #567417
    Rolandas

    Hi

    I have an issue:
    Font-Awesome icons do not load and show up as blank squares. This is happening on devices running iOS 11.3.1 (Safari, Firefox, Chrome, Opera Mini).

    #567422
    Tom
    Lead Developer
    Lead Developer

    I’m seeing that within WP Show Posts. Is it happening anywhere else?

    WP Show Posts doesn’t load Font Awesome by default, so that must be custom CSS.

    You can add Font Awesome yourself using one of these methods: https://docs.generatepress.com/article/font-awesome/

    #567483
    Rolandas

    In single post also (before category).
    But Font Awesome works fine on Windows, and in WP Show Posts also

    #567487
    Tom
    Lead Developer
    Lead Developer

    That’s because you have this custom CSS:

    .cat-links::before {
        content: "\f07c";
        font-family: FontAwesome;
        font-size: 20px;
        color: #b72029;
    }

    The theme no longer uses Font Awesome for its icons: https://generatepress.com/generatepress-2-1/

    #567510
    Rolandas

    But I have added Font Awesome as shown here (https://docs.generatepress.com/article/font-awesome/)

    #567513
    Tom
    Lead Developer
    Lead Developer

    Font Awesome 5 has a different font-family name: https://fontawesome.com/how-to-use/web-fonts-with-css#pseudo-elements

    #567597
    Rolandas

    Thanks!

    #567601
    Tom
    Lead Developer
    Lead Developer

    You’re welcome 🙂

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