How to change the property default message "No Value"

I swear this was there at some point. Honest! :sweat_smile: I’m only seeing Empty now as well.


This seems to take care of the user created properties. Replace the content: "" part with whatever you like.

.metadata-property .metadata-input-longtext:empty:before {
    content: "👻🕷️🎃";
    color: var(--text-faint);
}

Screenshot 2024-10-09 072646

When you enter a value, whatever the content is, is removed.

Screenshot 2024-10-09 074403


Obsidian’s default Properties are a bit different, and using similar for those produces some unwanted results:

.metadata-property .multi-select-input:empty:before {
    content: "abcd";
}

Screenshot 2024-10-09 073109

I’ll have another look at it later if I have time.

I’ll move this to the CSS category at this point and we can whittle away at it.

2 Likes