Site logo

[Support request] Image elements do not have explicit width and height

Home Forums Support [Support request] Image elements do not have explicit width and height

Home Forums Support Image elements do not have explicit width and height

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1937191
    Brandon

    I’m trying to improve my Core Vitals. I keep getting this error message on my logo image.

    I saw where David suggested adding is-logo-image within the “Excluded images or iframes” Lazyload section of WP Rocket.

    I added the code, but I’m still getting the same error when I run Pagespeed insights.

    Any suggestions on how I can correct this? Thanks!

    #1937222
    Elvin
    Staff
    Customer Support

    Hi Brandon,

    The error is coming from the site’s mobile header. I’m not exactly sure if WP Rocket removes the image height and width attribute.

    Can you try completely disabling WP Rocket and let us check to see if it’s the case? Let us know. 😀

    #1941833
    Brandon

    Hi Elvin,

    Sorry for the delayed response. I have disabled WP Rocket. Appreciate your help!

    #1942113
    Leo
    Staff
    Customer Support

    I’m still seeing WP Rocket activated in the source code.

    Can you confirm?

    Thanks.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.