Images for the Questions – sizing
I’ve added square images for each of the questions. The first 3 questions show the images correctly square. The rest have squished photos which are distorted (from 4 to 9).
The page is in draft at the moment but if you need to see it I can create a temporary login for you. I just need to rethink how I do the questions so I can work with the way your quiz works 🙂
HD Quiz does not change or modify the featured images in any way. And certainly does not change anything from question to question. So assuming that all of your images are the same size, and the first 3 are OK, but the rest aren’t, it is safe to assume that the issue is caused by something on your end.
The timing of this is also very suspicious, is that WordPress 6.7
introduced a new bug with your exact behaviour.
You can read more about it here on the official WordPress.org page:
A potential fix from one of the developer of WordPress introduced a new filter as a temporary fix (note. 6.7.1
was recently released. They say it fixes this bug, so update if you haven’t already, or try the following if you are using the latest)
https://core.trac.wordpress.org/changeset/59415
As a last resort, you can try to add the following CSS to your theme.
.hdq_featured_image {width: 100% !important}
.
That will force the featured image to always fill to 100% the width of the question. Since your images are square, it should still look good for you with this change, and it should hopefully override the broken sizing from WordPress.
All sorted, I updated WP and it’s fixed
Respond to thread
This thread has been closed / marked as resolved.
You can reply to this thread, but it might be better to start a new thread if you need help.
You can also upload images to imgur and paste the links here. Just make sure that your images don't include any sensitive information.
Submit