H1 and H2 formatting for themes not working

H1 and H2 formatting from themes are not working. Tested on Things 2 and Obuntu theme in multiple vaults and sandbox vaults. The issue was duplicated on a separate MacBook and on an iPhone. Obsidian version: 1.10.6 on a Mac Studio M2 Ultra Sequoia. No snippets or custom .css files. No other add-on is installed.

Please help resolve this. Thank you.

The Things theme sets the h1 and h2 colors to the var(--text-normal) color (the same as regular text):

You can change this in the Things section of the Style Settings plugin or use a CSS snippet like this to change them:

body {
  --h1-color: salmon;
  --h2-color: var(--purple);
}

I recommend having a look at this topic for a guide on using the dev inspector to find out what the default theme or community themes are doing:

Thank you, @ariehen! Very helpful.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.