pengx17 / logseq-dev-theme

</> Logseq dev theme
https://pengx17.github.io/knowledge-garden/
MIT License
373 stars 65 forks source link

H2 could not be changed by custom.css #78

Open CodingXCat opened 2 years ago

CodingXCat commented 2 years ago

I'm trying to add color to headers like this

/* Header*/
h1, h2, h3, h4 {
  color: #9bc4fe;
  font-weight: bold;
}

but the color of H2 could not be changed: image

asandikci commented 1 year ago

@CodingXCat You can use !important tag to override previous color

/* Header*/
h1, h2, h3, h4 {
  color: #9bc4fe !important;
  font-weight: bold;
}

image

update: adding !important tag to h1 causes also page name styles to be changes