Skip to content

How to customize colors for headings? #7031

Answered by alexvoss
hopezh asked this question in Q&A
Discussion options

You must be logged in to vote

All you need to do is to add some custom CSS to your project. You will want the CSS selector to be specific enough to override any given styling.

.md-content h1 { color: red; }

should be enough. Do the same for H2, H3 etc. headings.

Replies: 1 comment

Comment options

alexvoss
Apr 9, 2024
Collaborator Sponsor

You must be logged in to vote
0 replies
Answer selected by hopezh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants