Hello @bschelst,
We can see that are using cloudflare CDN service. Which optiomize the whole site incluing all those codes(html,css,js). But, still you are facing problem like this.
So, As you mentioned about the report from gtmetrix. You can also checkout there advanced solution for solving this issue.
Here you go the solution it might help you:
——————————————-
How to avoid large layout shifts?
Avoid large layout shifts by incorporating good practices into your development workflow, such as:
1) Specifying image dimensions
Always specify, both, width and height for your website’s image and video elements so that the correct spacing is used for images/videos.
Alternatively, you can use CSS aspect ratio boxes to do the same.
2) Reducing layout shifts caused by ads, embeds, and iframes
To reduce layout shifts caused by ads, embeds, and iframes, do things like:
Reserve ad slot size (preferably the largest) before loading the ad library.
Move ads to the bottom or out of the viewport.
Use placeholders when there is no ad available to show.
3) Avoiding inserting new content above existing content
Try and avoid inserting dynamic content (e.g., banners, forms, etc.) above existing content unless in response to user interaction. This helps prevent unexpected layout shifts.
4) Preventing the Flash of Invisible Text (FOIT)
The Flash of Invisible Text (FOIT) issue can also affect your page’s CLS. Ensure your text remains visible during webfont loads by preloading web-fonts and/or using the font-display attribute.
5) Avoiding non-composited animations
Where possible, only perform composited animations to reduce main-thread work and prevent repainting of pixels during the page load.
——————————————–
Note: This is an advanced-level optimization
Developer support is strongly recommended.
——————————————–
Let us know if there anything else we can help you!
Regards,
-
This reply was modified 3 years, 6 months ago by themevision.