Skip to content

How to change style from H4 H5 to H1 H2? #1304

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

You must be logged in to vote

I really like using Tasks. I'm trying to change the styling of the headings when using the group by, but I don't find how to do it. Could you help me?

I thought that this was documented, but it isn't.

Here is what I do to customise the style of the group headings in my own vault. I know that using !important is considered bad practice, and I have not tested to see if that can be removed.

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;
}

h6.tasks-group-heading {
    background-color

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@claremacrae
Comment options

Answer selected by claremacrae
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 scope: grouping Changes to the grouping capabilities
2 participants