Adjusting space between Headings and Body in Doks theme

Hey, I hope this is the right section to post this question.

I’m having trouble figuring out how to decrease the space between my h2 heading and the body text.
Ideally, I would like to change it through a code injection.

Any help would be appreciated

website: 👹 Wabisebi わびせび - Private Site Access
pass: needhelp
Theme: Doks

Via Code Injection → Site header, you can try this:

<style>
.content h2 {
  margin-block: 10px 5px;
}
</style>

This says, "Change the spacing above the h2 to 10 px and below to 5 px.

1 Like

That works perfectly, thank you!

1 Like