JPT width and height parameter not assigned #286
Unanswered
mkruisbrink
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Hmm... CSS shouldn't affect JPT's output at all, so that's not the problem. I'm not sure why you're not getting width & height, will look into it! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Thanks for the amazing plugin! I've got two sites running with Minimal Mistakes theme and testing JPT on my personal one right now.
I've come across this topic on JPT for the theme but this didn't cover the CLS topic specifically
I'm now properly serving responsive
.webp
images on my about page but I can't seem to figure out how to properly set thewidth
andheight
element for the images to make Lighthouse (and myself) proper happy.--img height ="400"
, correct? ( I did not come across the manual overwrite in the docs but I guess thats why you want help :) )_base.scss
adjustments in the theme by switching thewidth: 100%
toauto
though I'm not quite sure this would be the proper location since in the below_reset.csss
snippet (for responsive images) bothwidth
andheight
are set on auto.The images are served responsively when inspecting in dev tools and I also see
_base.scss
and_reset.scss
applied. Somehow the functionality to reduce the CLS by specifyingwidth
andheight
parameters is not working for me.Could anyone point me towards what I might be doing wrong? Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions