Explicit width and height - by Shezad - on WordPress WooCommerce support

This topic has 2 replies, 2 voices, and was last updated 4 years, 4 months ago ago by Olga Barlow

  • Avatar: Shezad
    Shezad
    Participant
    July 26, 2021 at 21:18

    Hello,

    I am having an issue with my page speed insights tests asking to “Set an explicit width and height on image elements to reduce layout shifts and improve CLS.” This is referring to the site logo and header/footer section for accepted payments.

    Pagespeed insights showing both images:
    https://snipboard.io/XhnH9i.jpg

    Site logo in question:
    https://snipboard.io/bxLCsl.jpg

    Payment logo in question:
    https://snipboard.io/tMdETe.jpg

    I was unable to find an area where I can set the dimensions of these images to prevent content layout shifting. (Please note that I have not updated my theme yet because of issues with the mobile menu)

    Please, contact administrator
    for this information.
    1 Answer
    Avatar: Olga Barlow
    Olga Barlow
    Participant
    July 27, 2021 at 14:27

    Hello,

    We made a lot of improvements for the theme speed in version 8.0, so provide us with the FTP access to your site to fix the issue with the mobile menu and update theme and then you’ll be able to check if you have the mentioned issue after theme update.

    Regards

  • Viewing 2 results - 1 through 2 (of 2 total)

The issue related to '‘explicit width and height’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.