Open agila5 opened 2 years ago
wanted to upvote this as it would be great to be able to modify the CSS and tweak these awesome templates. thanks for your work!
I had the same question and solved it by adding a css chunk at the top of the index.html file in your distill website or the separate CSS file as you note. You may have to use the !important modifier.
For example, I wanted the background of the solana template to be white on my website, so I added this chunk after the YAML header.
```{css, echo = FALSE} body { background-color: #ffffff!important; } ```
I was also able to include body text in a \
```{css, echo = FALSE} .smaller-text { font-size: 0.8rem; } ```
\
Dear authors, first of all, thank you very much for working on this project.
I just started developing my website using
distill
andpostcards
, and I have several problems customising my webpage. I use thetrestles
style. I add here some questions in case you can help me:.distill-site-header {--text-size: 25px;}
in a CSS file, but I'm not sure how to replicate the same behaviour for the main text.Could you also suggest any guide to learn how to modify the style of the pages using CSS? Thanks.