Title: dynam's Replies | WordPress.org

---

# dynam

  [  ](https://wordpress.org/support/users/dynam/)

 *   [Profile](https://wordpress.org/support/users/dynam/)
 *   [Topics Started](https://wordpress.org/support/users/dynam/topics/)
 *   [Replies Created](https://wordpress.org/support/users/dynam/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/dynam/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/dynam/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/dynam/engagements/)
 *   [Favorites](https://wordpress.org/support/users/dynam/favorites/)

 Search replies:

## Forum Replies Created

Viewing 1 replies (of 1 total)

 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Enspire] Fix Cumulative Layout Shift of featured post carousel](https://wordpress.org/support/topic/fix-cumulative-layout-shift-of-featured-post-carousel/)
 *  Thread Starter [dynam](https://wordpress.org/support/users/dynam/)
 * (@dynam)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/fix-cumulative-layout-shift-of-featured-post-carousel/#post-14097577)
 * Hi Alexander,
 * thanks for your response!
 * No problem, the point with Cumulative Layout Shift is that the content doesn’t
   shift too much when the web page loads. This can be avoided with placeholders
   for ad-banners or – in this case – the carousel. [Here](https://web.dev/cls/)
   you can find more information about CLS.
 * Thanks for the code, but unfortunately this doesn’t work. I’ve already implemented
   the second code you posted before, but that doesn’t “reserve” the space at the
   init page load for the carousel which loads afterwards.
    The first snippet makes
   the carousel twice as big as before, so this doesn’t work too.
 * I hope that I could point you in the right direction. The important thing is 
   that it has to be a “fix” which works without JavaScript, as this gets loaded
   some seconds later.
 * You can “watch” the CLS using Chrome -> F12 -> Lighthouse -> Desktop -> Generate
   Report -> after that is done, scroll down and click “View Original Trace”.

Viewing 1 replies (of 1 total)