How to reduce spacing

Hello, for I’m trying to find out how to reduce the spacing before and after a H2. See the yellow zone in the screenshot. It doesn’t seem to be part of the H2 CSS and setting setSpacing(false) on the layout also has no impact.

So I guess it’s defined somewhere else in the theme but can’t find it…

It’s the margin of H*, fixed by using css inside your styles.css to target those or using Lumo Utilities on the java side to lower it

Thanks, I added this to my CSS and indeed looks a lot better

h2, h3, h4, h5 {
    margin: 5px 0 0 0;