Adding Background Image In A Website Page #2962
Answered
by
fredguth
samarzayan
asked this question in
Q&A
-
As an example, the Quarto home page has a background image with text. I am trying to do something similar on my home page. I tried reading the documentation, but I got confused. Can someone please help? Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Answered by
fredguth
Oct 22, 2022
Replies: 1 comment 1 reply
-
You can check the code for Quarto's website here: quarto-web Notice that you can create a ::: {.class-name}
content here
::: Also, you can change the body background in styles.css. I created a minimum working example in this repo: https://github.com/fredguth/demo-quarto-background |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
samarzayan
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can check the code for Quarto's website here: quarto-web
Notice that you can create a
div
using the syntaxAlso, you can change the body background in styles.css.
I created a minimum working example in this repo: https://github.com/fredguth/demo-quarto-background