Any idea, why galleries do not have any bottom margin, while individual images do? It was not happening in the past. Could I mess something up in the settings somewhere?
I know I could add custom CSS for wp-block-gallery, but I am afraid this would just hide the issue instead of fixing it, so I prefer rather identifying the root cause of it...
I'm not sure what happened with your site before, but the original WordPress Gallery Block does not include a predefined margin value. Therefore, you should add custom CSS code to set it.
Any idea, why galleries do not have any bottom margin, while individual images do? It was not happening in the past. Could I mess something up in the settings somewhere?
It can be seen on these two posts:
https://magazin.mensa.cz/podzimni-celostatni-setkani-mensy-na-hluboke/
https://magazin.mensa.cz/narodni-muzeum-v-kapse/
I know I could add custom CSS for wp-block-gallery, but I am afraid this would just hide the issue instead of fixing it, so I prefer rather identifying the root cause of it...
Hi,
Please go to Appearance → Customize → Custom CSS then add the following custom CSS code:
Regards,
PenciDesign.
Would you be so kind and read and respond to my original question? I know I can add custom CSS, but isn't that something I should not have to do?
Hi,
I'm not sure what happened with your site before, but the original WordPress Gallery Block does not include a predefined margin value. Therefore, you should add custom CSS code to set it.
Source: https://wordpress.org/support/topic/no-padding-or-margins-for-image-blocks/
Regards,
PenciDesign.