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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
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
.webpimages on my about page but I can't seem to figure out how to properly set thewidthandheightelement 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.scssadjustments in the theme by switching thewidth: 100%toautothough I'm not quite sure this would be the proper location since in the below_reset.cssssnippet (for responsive images) bothwidthandheightare set on auto.The images are served responsively when inspecting in dev tools and I also see
_base.scssand_reset.scssapplied. Somehow the functionality to reduce the CLS by specifyingwidthandheightparameters 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