• rene-michaels

    (@rene-michaels)


    I’ve added images to my menu items using the plugin but GTmetrix test is telling me I need to “Set an explicit width and height on image elements to reduce layout shifts and improve CLS.”

    Here is one example of the failing elements on GTmetrix:

    img data-src=”https://renemichaels.com/wp-content/uploads/headache-gry-30.png” alt=”Challenges” heigth=”25px” width=”25px” src=”https://renemichaels.com/wp-content/uploads/headache-gry-30.png” class=” lazyloaded” style=”–smush-placeholder-width: 30px; –smush-placeholder-aspect-ratio: 30/30;”

    Note the image I use is 30 x 30 and I have the menu Attachment Display Settings set to “original 30 x 30″ but the code above shows: heigth=”25px” width=”25px” and notice the word “height” is misspelled in the code which is likely causing the issue.

    I also use Smush, but only the images used in my menus fail so I don’t believe it is related to that plugin.

Viewing 1 replies (of 1 total)
  • Thread Starter rene-michaels

    (@rene-michaels)

    Are y’all still supporting this plugin? If so I would love to continue using it and need help on this support issue!

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.