Skip to content
Public Ticket #17633

Image elements do not have explicit width and height

Conversation thread

PenciDesign Supporter replied

Staff Reply

Hi,

For this issue, please go to Appearance → Customize → Speed Optimization → General & Lazyload, scroll to bottom then check on Disable Lazyload Images on Single Posts option.

Regards,
PenciDesign.


PenciDesign Supporter replied

Staff Reply

Hi,

1. Please go to Appearance → Customize → Logo & Header → Logo, enter the logo size to:

  • Set A Max Width for Logo
  • Set A Height for Logo Image

Then download the attachment file then overwrite it to:

wp-content/themes/soledad/template-parts/header/vertical-nav.php

2. As you have seen on the Google PageSpeed Insights report, this problem doesn't directly affect the Performance score, so you can ignore it.

Regards,
PenciDesign.


mo3aleg Moh started the conversation

Conversation Start

hello

we did fix logo size but after theme update it had the same problem


Image elements do not have explicit width and height

the logo size 280 px * 80 px

i try to add it in the theme but its not working

2- i get error Avoid serving legacy JavaScript to modern browsers

how to fix that

thank u

Want to join this conversation or access attachments? Sign in first.