Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

H2 could not be changed by custom.css #78

Open
CodingXCat opened this issue Sep 26, 2022 · 1 comment
Open

H2 could not be changed by custom.css #78

CodingXCat opened this issue Sep 26, 2022 · 1 comment

Comments

@CodingXCat
Copy link

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
Copy link

asandikci commented Nov 7, 2022

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants