Image is jumping around when I minimize the browser

[ad_1]

Hey guys, hope you guys doing good. I’m using DIVI theme to build my post. I set section, row and module in relative positive. However, the image and sometimes text floats around when I’m minimize the browser. Could you guys please tell me what’s wrong and how to fix it? Thank you so much.

[ad_2]
1 Comment
  1. It’s called CLS (Cumulative Layout Shift) and apart from overriding Divi CSS with custom CSS of your own, I’m not sure there’s a solution.

    If you want to override the Divi CSS, then you need to make the image responsive. There’s a couple of ways to do this but you could try…

    #ID_OF_IMAGE {

    width: 100%;
    height: auto;

    }

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer