How to change style from H4 H5 to H1 H2? #1304
-
Hi! I really like using Tasks. I'm trying to change the styling of the headings when using the Also, I'm grouping my tasks by file, and then by headings. Some tasks don't belong to any headings, which shows up as "(No heading)". Is is possible to remove this, or to change it to a blank? Like question: is it possible to make the title of each task a link, and remove the backlink that appears next to them? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
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 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: rgba(243, 191, 224, 0.24) !important;
font-size: 14px;
line-height: 14px;
} You would need to modify the values for each heading (h4, h5, h6) to what you would like. I am not a CSS developer and cannot give you specific advice on styling.
That is the subject of #1057. Please up-vote it.
No it's not. And I think that it would cause problems. For example, for any task whose description contained a link, the existing link would then become a link-within-link which would either be confusing or broken. We do have a documentation page with various options for those who don't like the display of backlinks: https://obsidian-tasks-group.github.io/obsidian-tasks/how-to/style-backlinks/ |
Beta Was this translation helpful? Give feedback.
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.