Documentation for theme CSS overrides #6081
-
At it was shown how to override specific CSS settings in the base The docs mention If this is supported, could something be added to the docs about this? For example, if someone wanted to tweak the title foreground color, background color, etc? Perhaps a link to the source files in the repo that should be read to learn about the CSS options? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
Thanks for asking. We mention it in our custom color guide that links to the color definitions, i.e., the variables which you can override. There's also a related example that you can inspect and download, that shows you how to apply custom colors. That being said, it is impossible for us to provide a guide how to change every aspect of Material for MkDocs, e.g., header, footer, you name it, because there are just so many things that you can change (= everything). We will provide more examples in the future, but in the end, if you want to override specific parts of the CSS, you should inspect the element with your browsers console to learn which class you need to apply. We might create a tutorial for this in the future, but please understand that you'd we presume a basic knowledge of CSS for extensive customization. |
Beta Was this translation helpful? Give feedback.
Thanks for asking. We mention it in our custom color guide that links to the color definitions, i.e., the variables which you can override. There's also a related example that you can inspect and download, that shows you how to apply custom colors.
That being said, it is impossible for us to provide a guide how to change every aspect of Material for MkDocs, e.g., header, footer, you name it, because there are just so many things that you can change (= everything). We will provide more examples in the future, but in the end, if you want to override specific parts of the CSS, you should inspect the element with your browsers console to learn which class you need to apply. We might create a …