Headlines without bullet points

So what I want to do is insert a headline (i.e. h1) without it generating a bullet next to it. I feel like this should maybe be the standard case (since it is kind of weird to have a heading as a bullet point, both logically and aesthetically), but for now I’m searching for a css solution.

I found something that would remove the bullet for everything that does not have children but it is too drastic for me. I want to have non-header bullet points without children as well. So basically, is there a way to add a selector for headings, so that bullets are not rendered only in this specific case?

Welcome. Try something like this:

.block-main-container:has(h1) .bullet-container {
    display: none;  
}
2 Likes