Different skins on different pages and posts #2695
Answered
by
mmistakes
kalaniwilliams
asked this question in
Q&A
-
Is it possible currently to use different skins on different pages and posts? I'd like to be able to specify the skin in the front matter on individual posts, but I don't think that's currently possible. Thanks for considering! |
Beta Was this translation helpful? Give feedback.
Answered by
mmistakes
Sep 17, 2020
Replies: 1 comment
-
This is not something I'd consider supporting in the theme, but if you're adventurous it is something that should be possible. Off the top of my head you'd need to:
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
mmistakes
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is not something I'd consider supporting in the theme, but if you're adventurous it is something that should be possible. Off the top of my head you'd need to:
.css
files you can reference in a page./assets/css/
similar tomain.scss
and change the@import
line that brings in a skin partial to a specific file. For example if you wanted to create a dark stylesheet you'd create/assets/css/dark.scss
and change line 7 to@import "minimal-mistakes/skins/dark";
_includes/head.html
to have some logic that if y…