Icon Display Issue in WISECP: Solution Found

Thursday, November 21, 2024

Following a recent WISECP update, an issue has arisen where icons in the client area are not displaying correctly. This problem stems from the outdated JavaScript library provided by FontAwesome, which is used in the WISECP theme. We’re pleased to inform you that a solution has been identified and is ready to be implemented.

How to Fix the Issue:

  1. Navigate to the theme directory on your site:

    /templates/website/[THEME_PATH]/inc/
    
  2. Open the following files:

    • main-head.php
    • ac-head.php
  3. Locate this line of code:

    <script src="https://kit.fontawesome.com/024b99bd53.js" crossorigin="anonymous"></script>  
    
  4. Replace it with the following code:

    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/fontawesome.min.css">  
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/solid.min.css">  
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/brands.min.css">  
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/v4-shims.min.css">  
    
  5. Clear your browser cache and reload the page.

Tips for the Future:

  • If you encounter technical issues like this, feel free to contact our support team. We are always here to assist and provide updated guidance.
  • To minimize potential disruptions, ensure your components (themes and libraries) are regularly updated.

Should you have any further questions or face difficulties, please do not hesitate to reach out to us through the support section.



Powered by WHMCompleteSolution

PUQ Mautic