How to inject custom <style> tag to the head #172
Answered
by
Akryum
victorlmneves
asked this question in
Q&A
-
|
I have a multi-brand project and the fonts used are injected as style tag on the head What I try to do but didn't work was something like this How can I do this? |
Beta Was this translation helpful? Give feedback.
Answered by
Akryum
Jul 8, 2022
Replies: 2 comments 7 replies
-
|
You can probably insert the style tag using JS? :p |
Beta Was this translation helpful? Give feedback.
6 replies
Answer selected by
victorlmneves
-
|
Hi there, wouldn't be easier to add both font-faces and do the logic with different class themes? .theme-1 {
font-family: EnbwDin;
}
.theme-2 {
font-family: Madera;
} |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can probably insert the style tag using JS? :p