Layout and Font display errors
-
Good day
Please assist, when I do a page insights from my website i get loads of errors, in fonts and page shifts etc, so my page loads wierdly, how can i fix this? also have an error with robots.txt file?
Attachments:
You must be
logged in to view attached files.
Hello,
Each theme requires different resources for viewing. Please go to Theme Settings > Performance and there are options to help you control CSS or JS libraries.
You may also consult this useful article https://www.cloudways.com/blog/avoid-large-layout-shifts/
-Improve image delivery: Make these images lighter – https://ibb.co/wZwb3rwn , e.g., 30kb.
Regarding the font, You should set the “Swap” value for the “font-display” from Theme Settings > Performance > Fonts & Icons.
Regarding invalid request, please read the below official documentation on how to fix that: https://developer.chrome.com/docs/lighthouse/seo/invalid-robots-txt/?utm_source=lighthouse&utm_medium=devtools#make-sure-robots.txt-doesn’t-return-an-http-5xx-status-code
Best Regards,