Archived topic
Plugin update resulted in fewer space below images
9 replies · Started by Robin on December 6, 2022
Hi,
I recently updated the generatepress plugin/template and I believe that is the cause of me seeing no space below my images in my articles anymore. See example here -> https://www.hardloopbaas.nl/asics-gel-nimbus-24-review/
Is there a quick way to add space below images?
Thanks
Robin
Hi there,
Try this CSS:
.wp-block-image {
margin-bottom: 20px;
}
Adding CSS: https://docs.generatepress.com/article/adding-css/
Let me know if this helps :)
Hi Leo,
Thanks for the reply. Unfortunately that didn't do the trick :(
Is there another way?
Thanks
Robin
I'm not seeing the CSS being added.
Did you clear your caching plugin after adding it?
Hi Leo,
That is because I removed it again, since it didn't change anything.
I just added it again. Do you mean remove my browser cache? I just did that but nothing changed.
Thanks
Robin
Do you mean remove my browser cache?
No - I'm talking about your plugin cache as you are using LiteSpeed cache.
Please clear and disable it after adding the code so we can tell if it is/isn't working.
Hi Leo,
I just disabled the caching of the LiteSpeed plugin.
Though, I am not seeing a difference..
On another website of mine I also have the LiteSpeed plugin but not seeing problems with images there. This one for example: https://www.fietsbazen.nl/beste-mtb-schoenen/
Thanks
Robin
You are missing a closing } in the previous CSS:
https://www.screencast.com/t/1r5qYwzrOZ
Which means that the code I provided only works in mobile.
Hi Leo,
Ah yes, I added it and it works now :)
There is some margin under the images again.
Thanks a lot!
Robin
No problem :)