Obsidian hide collapsable field CSS
You can also use CSS to always hide the collapsable part of linked mentions.
cons:
- you can’t expand backlinks anymore
- search results are also affected!
Place a CSS file in your vault in /.obsidian/snippets
.
/* backlinks in document - hide expanded parts */
.search-result-file-matches {
display: None !important;
}
/* backlinks in document - keep the font color grayish instead of white */
.tree-item-self {
color: var(--nav-item-color) !important;
}
/* hide all arrows, since collapsable arrows don't work anymore */
.search-results-children .tree-item-icon.collapse-icon {
display: none;
}
source original forum post, my reply
Backlinks¶
- Obsidian auto collapse linked mentions
- (tested and works) - Obsidian hide collapsable field CSS