Since the recent theme/wordpress updates, our images are not rendering correctly.
The default space between an image and the next paragraph is no longer present. This happens whether it is a single image or an inserted gallery.
We can manually get around this issue by adding a custom bottom margin to the image block, but as we typically publish a lot of images, the workaround is not ideal.
Any help getting this resolved would be much appreciated.
Hi Anamaria,
Here is one example. Third image down, no space between image and text starting “Plumbed with a 320W TGP…”
Here it is in the editor.
This happens on every inserted image or gallery, though manually adding a caption circumvents the issue.
The reason I ask is that the blanket CSS workaround causes issues in other areas. For instance, if we use a rich layout ‘media and text’ block, the image has a forced 21px bottom border, making the background colour visible. Here is an example.
-
This reply was modified 3 years by
loslunes.
Had the same issue and I had asked on this forum… the reply stated the following CSS:
.tagdiv-type figure img {
margin-bottom: 10px;}
Now am confused which one to use!
-
This reply was modified 3 years by
theheritagelab.
Thanks for sharing, @c386! Just been a bit concerned at the response to v12.2 so hadn’t updated yet — but will do!
@theheritagelab I may have jumped the gun slightly. While it does appear to be fixed on desktop, the spacing issue remains on mobile when using the mobile plugin.
@Anamaria it would be great to have this fixed on mobile too.
