-
-
Notifications
You must be signed in to change notification settings - Fork 0
Elementor Eicons Optimization
Milan Petrovic edited this page Oct 2, 2020
·
1 revision
Elementor plugin has its own font with icons used for the website interface. And, if you use that font with Elementor, you have noticed that it is often marked as render-blocking in performance tests. This small plugin solves that by embedding font CSS into page HEAD, and by adding the font-display
property that the original code is missing.
- Elementor Eicons font will get proper
font-display
property - The font will no longer be render-blocking
- The Eicons font CSS will be added to the page HEAD (small tradeoff)
It is quite simple: it will remove Elementor Icons font registration, and then will load the font CSS file, add the missing font-display
and will embed the whole CSS (around 10KB) into the page HEAD.