• pagespeed.web.dev/ swears that the site uses unnecessary CSS in the file – /wp-content/plugins/elementor/assets/css/frontend-lite.main.css how can I manually find this code? or how to understand which CSS needs to be disabled so that this error is not displayed on all sites that use elementor

    For users who want to get rid of the problem of deleting unused css in the font awesome.min.css file, the following solution is: manually write in the fontawesome.min file only those icons that you use on the site, feel free to delete the rest

Viewing 1 replies (of 1 total)
  • Plugin Support enmanueldiaz

    (@enmanueldiaz)

    Hello,

    Thank you for bringing this issue to our attention. It seems like there might be some unnecessary CSS being loaded from the Elementor plugin’s frontend-lite.main.css file, which is affecting your site’s performance.

    To manually find the specific code causing this issue within the frontend-lite.main.css file, you would typically need to inspect the CSS file itself. You can access this file via your WordPress dashboard by navigating to “wp-content/plugins/elementor/assets/css/frontend-lite.main.css”. However, manually inspecting and editing plugin files is not recommended, as it can lead to potential conflicts and issues with future updates.

    Instead, I would recommend reaching out to the Elementor support team for assistance in identifying and resolving the unnecessary CSS loading issue. If you have Elementor Pro, you can submit a support request directly through the Elementor dashboard. If you’re using the free version of Elementor, you may also seek assistance from the Elementor community on platforms like the Elementor Facebook community, where other users and experts can provide guidance and solutions.

    As for optimizing the fontawesome.min.css file to remove unused icons, your suggested solution of manually including only the icons that are used on your site and removing the rest is indeed a valid approach to reduce file size and improve performance. However, be cautious when making manual changes to plugin files, as it may affect the functionality and compatibility of the plugin.

    If you need further assistance or have any other questions, feel free to let me know.

    Best regards,

Viewing 1 replies (of 1 total)
  • The topic ‘unnecessary CSS in the file – /wp-content/plugins/elementor/assets/css/frontend’ is closed to new replies.