Archived topic
Add automatically some margin after images are inserted on Gutternberg
3 replies · Started by George on November 14, 2022
Hello. Currently, the default Pages and Posts don't add any margin when a new image is added, and hence I have to add an extra line break for it to lookgood. Check all the images in this article (except the featured image): https://giveawaylisting.com/the-talk-giveaways/
How to add CSS to automatically have some margin between the bottom of the image and the new text that follows? (header or plain text)
Thanks!
Hi there,
try this CSS:
figure {
margin-bottom: 1.5em;
}
Thanks David, where should I place this CSS? And will the apply only to images? Thanks!