Add a horizontal line after title automatically

Hi, guys! I’m a newbie here, so sorry for forum mistakes.

What I’m trying to do

I want to add a horizontal line after title automatically. I know about this feature from style settings plugin. It has this for headings, but it doesn’t for titles.

I think I can create a template, but it seems really inconvenient.
Thanks for help!

You could try something like this:

.inline-title {
    padding-bottom: 2px;
    border-bottom: 1px solid lightgray;
}

https://help.obsidian.md/Extending+Obsidian/CSS+snippets

1 Like

That’s it! I don’t understand how to find css class names yet, so thank you!

1 Like

If you are interested in poking around, here’s a great guide

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