Code for Placeholder Header-Logo

Posted in: Newspaper
Post count: 361

My Logo-Image is causing a high Cumulative Layout Shift because the image is not served in combination with a placeholder/container so that the browser knows that in the header an image is loaded. As a consequence the whole content shifts down when the image appears a few seconds after the all the fonts and texts are loaded. Can you provide me a code for the header-logo/image so that I can avoid that problem? I’m using a Header-Template from the cloud-templates.

Thank you very much!
Kathrin

Post count: 18283

Hello !

Unfortunately at the moment there is no fix available for this. Our developers are working in fixing all the “small issues” that google page speed recently sees in order to improve speed.

Thank you for your understanding !

Post count: 361

Ok. That’s great. Do you already know, when it will be fixed?

Greetings Kathrin

Post count: 361

I have found this part of code in wp-content/plugins/td-composer/legacy/Newspaper/js (tagdiv_theme_min.js): tds_snap_menu_logo:tdUtil.getBackendVar(“tds_logo_on_sticky”) – Could this part of code cause the cumulative layout shift concerning the header logo in the desktop-version?

Greetings Kathrin

Post count: 35449

Hi Topfgartenwelt,

Please check the answer from this topic -> https://forum.tagdiv.com/topic/to-high-cumulative-layout-shift-in-mobile-theme/

Thank you for your understanding!

Viewing 5 posts - 1 through 5 (of 5 total)
The forum ‘Newspaper’ is closed to new topics and replies.