Ow to Color Note Titles and Links Based on Folder or Properties?

I have different folders (00 MOC, 01 Project, 02 Personen, etc.) and for those I have different colors. But I would also like to have the notes from those folders in those colors. I would like that the title of a note and also its link appears in the same color as its folder. But I can’t manage to do it.

I figured out how to change all the titles and link colors of all notes, but not to change only a few. So how could I do it?

I’ve tried it with the folder structure and also based on properties. Each of my notes has the property Type = MOC, Person, Ressource, etc. which is named also after the folder which it is in.

The Auto Class community plugin lets you apply CSS classes to notes based on their paths (and tags). You can then use those classes in CSS snippets to style the notes. I don’t know of a plugin that does this for any properties other than tags, but it’s possible one exists.

I’ve solfed my problem. to color the titels i am using cssclasses and css snipets, and for Links im Using the supercharged links with Style settings.

this is this my css snipped, for the cssclass MoC:

.MoC {
–inline-title-color: #4b1400;
}

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