Home › Forums › Support › Image elements do not have explicit width and height – Mobile Only This topic has 3 replies, 3 voices, and was last updated 3 years ago by David. Viewing 4 posts - 1 through 4 (of 4 total) Author Posts April 7, 2021 at 5:25 am #1724590 Kumar Hi David https://generatepress.com/forums/topic/how-to-set-height-and-width-for-the-logo-image/#post-1563234 I used the above code which removes the error of “Image elements do not have explicit width and height” but these changes my CLS from 0 to 0.398 on mobile. Thanks Kumar April 7, 2021 at 9:51 pm #1725642 ElvinStaff Customer Support Hi there, Can you try disabling lazyload for all images? Let us know how it goes. April 8, 2021 at 12:55 am #1725788 Kumar Hi There, I have disabled wp rocket lazyload image features. Unfortunately, the CLS hasn’t changed. Regards Kumar April 8, 2021 at 3:29 am #1725958 DavidStaff Customer Support Hi there, in the code that adds the logo size attributes – change the width attribute to 208 Author Posts Viewing 4 posts - 1 through 4 (of 4 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In