Decrease space after headings

I want less space after a heading. How do I accomplish this using CSS snippets or otherwise?

Thanks :slight_smile:

add this in ur css file
to change the space, you need to change the value “10px”

.markdown-preview-view h1, .markdown-preview-view h2, .markdown-preview-view h3, .markdown-preview-view h4, .markdown-preview-view h5, .markdown-preview-view h6 {
margin: 10px 0;
}

1 Like

btw, this is the css of my theme, if useful

obsidian.css (16.5 KB)

1 Like

Thanks @sergy :slight_smile: