Font Awesome icons problem in code due to version

This topic has 6 replies, 2 voices, and was last updated 2 years, 1 months ago ago by Rose Tyler

  • Avatar: Mohamed Amine Gaouet
    Mohamed Amine Gaouet
    Participant
    September 25, 2022 at 14:49

    in walkers.php file there is an append to default css classes

    default:
    					$icon = '<i class="fa fa-' . $icon . '"></i>';
    					break;

    If we append “fa fa-” with font awsome version >5 IT won’t do the job but it works with version 4.7

    5 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    September 26, 2022 at 09:18

    Hello,

    Theme Options > Speed optimization > FontAwesome Support

    Regards

    Avatar: Mohamed Amine Gaouet
    Mohamed Amine Gaouet
    Participant
    September 28, 2022 at 14:54

    Please read carefully before respond
    when you activate font awsome via
    Theme Options > Speed optimization > FontAwesome Support
    only the version 4..7 will work because of the code added in walkers.php file

    default:
    					$icon = '<i class="fa fa-' . $icon . '"></i>';
    					break;

    please romove it so the other 5.x version of font will work

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    September 29, 2022 at 13:15

    Hello,

    Thanks for the reply.
    Please provide URL of your site, temporary wp-admin and FTP access, or wait for the next theme update.

    Regards

    Avatar: Mohamed Amine Gaouet
    Mohamed Amine Gaouet
    Participant
    September 29, 2022 at 16:26

    will wait for the next theme update

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    September 30, 2022 at 07:18

    Thanks for understanding.

    Regards

  • Viewing 6 results - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.Log in/Sign up

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.