Skip to content

Reduce vertical space between filenames and tasks in group by filename query #1602

Answered by claremacrae
HynDuf asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @HynDuf7,

Here's what that kind of thing looks like in Vanilla Tasks styling - with the default theme and no CSS snippets:

I am afraid that I don't have the capacity to give advice on styling.

What I can do, in case it gets you started, is to share the CSS Snippet file that I personally use for styling Tasks Group headings in my own vault, so that you can copy that and experiment with it.

.obsidian/snippets/tasks-group-headings.css:

h4.tasks-group-heading {
    background-color: rgba(255, 255, 0, 0.15) !important;
    font-size: 16px;
    line-height: 16px;
}

h5.tasks-group-heading {
    background-color: rgba(188, 243, 158, 0.24) !important;
    font-size: 15px;
    line-height: 15px;…

Replies: 2 comments 8 replies

Comment options

You must be logged in to vote
8 replies
@muurky
Comment options

@HynDuf
Comment options

@muurky
Comment options

@HynDuf
Comment options

@muurky
Comment options

Answer selected by HynDuf
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
scope: css styling Changes to styling of elements displayed by Tasks, including search results and individual tasks
3 participants