# Modifying CSS - Adding Color to Obsidian

**URL:** <https://forum.obsidian.md/t/modifying-css-adding-color-to-obsidian/42983>\
**Category:** Help\
**Created:** [September 5, 2022, 7:22pm UTC](https://forum.obsidian.md/t/modifying-css-adding-color-to-obsidian/42983 "2022-09-05T19:22:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![GJ1990](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/g/f4b2a3/32.png) [@GJ1990](https://forum.obsidian.md/u/GJ1990)\
**Post date:** [September 5, 2022, 7:22pm UTC](https://forum.obsidian.md/t/modifying-css-adding-color-to-obsidian/42983/1 "2022-09-05T19:22:52Z")

</div>

### Things I have tried

This css was posted previously

> [@Adding Color to Obsidian--- A Rainbow of Possibility!](https://forum.obsidian.md/t/adding-color-to-obsidian-a-rainbow-of-possibility/12805):
>
> I’m sure this has been suggested before, but I still see no actual implementation of this, so I decided to compile a few concepts and work-around implementations in hopes that someone may find some interest in picking this up! [image] Finally this is a beautiful implementation by @Lithou using CSS which I think looks absolutely phenomenal and something that would really beautify (and streamline) knowledge managers around the world! @brimwats probably can speak much more to the benef…

I am having troble understanting the nesting function.

I don;t understand the css code with regards to the FoldA, FoldB, etc. When I change these folder colors they do not flow thru to represent my level 2 level 3 folders. So I changed Fold1 to blue. When I make subfolder (level 2) the very first subfolder also shows the same blue I guess becuase it is the first folder at the level when I want level two to be different. But then when i create level 3 and level 4 it also reproduces the same blue at each level. Even though for FoldA and FoldB and FoldC I have other colors whihc do not seem to sow anywhere that I Can tell. Not working out. Can someone direct me to the part if the css file I need to modify to get the sub-level foders to work?

### What I’m trying to do

Modify the css so that all folders at each level share the same color. All blue on level 1, red level two, etc.

---

<div class="post-metadata">

**Author:** ![system](https://forum.obsidian.md/uploads/default/original/3X/b/e/bec35fbd23ab28909bb6bfe62cb32eb82dd34019.png) [@system](https://forum.obsidian.md/u/system)\
**Post date:** [December 4, 2022, 7:23pm UTC](https://forum.obsidian.md/t/modifying-css-adding-color-to-obsidian/42983/2 "2022-12-04T19:23:37Z")

</div>

Closed on December 4, 2022, 7:23pm UTC

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