Cumulative Layout Shift

I’m building a web app with Django. I’m testing a page with Google PageSpeed Insights and everything is green except Cumulative Layout Shift.

It’s because of an image at a top of a page. (see an example - Bass Fishing in Texas - Fishing Book). Is there some way to fix that Cumulative Layout Shift problem?

Thanks in advance.

Hello there!
Well, this doesn’t seem related to django, but much more related to web dev in general.
A quick google on “how to fix cumulative layout shift” led to me a bunch of posts that may help you to find this answer.

1 Like

Thanks. I thought maybe Django has some build in component. Will google.