Hi @chircami,
I’m not sure what you mean with “a space” between blocks. Can you post a link to a page where the issue is visible?
— Anders
Hi Anders,
First of all thank you for your quick response, that is greatly appreciated. I give you the link so you can see that space between elements.
https://chircami.alwaysdata.net/
By the way your themes are very nice, fast and minimalist. I await your advice. Have a nice day
Mirko
Hi @chircami,
Glad you like them! There are no built-in margin settings in the Block Editor, so you’ll need to do this with custom CSS. You could select the block you want to remove the margin from, scroll down to the bottom of the right sidebar, click the “Advanced” tab, and add “no-vertical-margin” to the “Additional CSS class(es)” field.
Next, go to Appearance → Customize → Additional CSS and add this:
.no-vertical-margin {
margin-bottom: 0 !important;
margin-top: 0 !important;
}
Add the class to all blocks you want to remove the vertical margin from. You could also add a block style with the no-vertical-margin class in a child theme, so it can be selected directly in the editor.
— Anders
Hi Anders,
I have solved the space between the blocks but between the main photo and the first block I can’t. That is, where can I add the class to the main photo? Thank you
Mirko
@chircami Add this to the Additional CSS field:
.page-id-2 .post-inner { padding-top: 0 !important; }
Hello Anders,
Thank you very much Anders, you are a crack, have a nice weekend, greetings