Skip to content

extra_css doesn't seem to work #7680

Answered by kamilkrzyskow
pajaro1966 asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @pajaro1966,
the issue is Specificity, the Material theme defines a stronger CSS selector and your extra css is too weak to override it. Best to check in the browser tools what the issue is.

.md-typeset h5 {
  text-transform: lowercase;
  color: red;
}
css_firefox_YXCH9V7TDa.mp4

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@pajaro1966
Comment options

@alexvoss
Comment options

alexvoss Nov 10, 2024
Collaborator Sponsor

@kamilkrzyskow
Comment options

Answer selected by kamilkrzyskow
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants