I am completely new to obsidian. I want to change color of the headings and customize them.
Things I have tried
I already read this:
but not working, and the answer is not that well detailed, since obsidian.css file is not easy to find. then I found the CSS snippets, created my file: heading_colors and added this command:
h1 { color: blue; }
h2 { color: red; }
h3 { color: cyan; }
but nowhtin changed.
Then I looked up to this tutorial: https://www.youtube.com/watch?v=iCRmtNmGA9k&ab_channel=HeurekaLabs
it is well done but not much detailed for a zero zero level, like me. I tried out many options but still not found a way to just change the colors of the headings.
In this case, .markdown-preview-view h1 is for Reading/rendered view.
.cm-header-1 is for Editing view (Source and Live Preview; different but still Editing view).
The custom properties in the snippet I shared are convenient to take care of both Editing and Reading modes together. Sometimes they aren’t enough to do what you want, but most of the time they are fine.
In this case both snippets are doing more or less the same thing.