-
DescriptionHello there, I've set up my website using Quarto and now I've also included a blog. I am using flatly and darkly themes, but I have a problem with the first one: the My first attempt was to create a
However, as I found out here, I cannot specify a custom How the blog post looks like: What happens if I change the |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 13 replies
-
Use spans, see https://quarto.org/docs/authoring/markdown-basics.html#divs-and-spans. ## [something]{.my-custom-class style="color:dodgerblue;"} You can also be more accurate in your (S)CSS rule to target the h1 title on the dark background which is actually define by CSS. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the reply! But as the title is set at the YAML, I'm afraid that won't work :/
|
Beta Was this translation helpful? Give feedback.
-
I think for that one page you could inject CSS in the header to overwrite the defaults,
|
Beta Was this translation helpful? Give feedback.
-
I am really new to CSS, HTML and everything. I tried this:
And this:
Am I doing something wrong? |
Beta Was this translation helpful? Give feedback.
-
All in all: thank you guys for the help. Maybe a feature suggestion could be changing the Although this worked, it is kind of a workaround, because it needs to be specified in each post's YAML. |
Beta Was this translation helpful? Give feedback.
I think for that one page you could inject CSS in the header to overwrite the defaults,