# Soft-wrap file name in sidebar

**URL:** <https://forum.obsidian.md/t/soft-wrap-file-name-in-sidebar/2369>\
**Category:** Themes & CSS snippets\
**Tags:** custom-css\
**Created:** [June 24, 2020, 1:51pm UTC](https://forum.obsidian.md/t/soft-wrap-file-name-in-sidebar/2369 "2020-06-24T13:51:49Z")\
**Posts on this page:** 1\
**Showing post:** 18

<div class="post-metadata">

**Author:** ![jimclay75051](https://forum.obsidian.md/user_avatar/forum.obsidian.md/jimclay75051/32/12100_2.png) [@jimclay75051](https://forum.obsidian.md/u/jimclay75051)\
**Post date:** [April 11, 2023, 2:41pm UTC](https://forum.obsidian.md/t/soft-wrap-file-name-in-sidebar/2369/18 "2023-04-11T14:41:22Z")

</div>

If your using the original file tree, this might work"

```auto
.nav-file-title-content, .nav-folder-title-content {
    white-space: normal; /* This produces the text wrapping */
}

.nav-file-title {
    color: #f8c537; /* Color for files */
}

.nav-folder-title {
    color: #f83a598; /* Color for folders */
}

```

---

_[View the full topic](https://forum.obsidian.md/t/soft-wrap-file-name-in-sidebar/2369)._
