Edit: reading documentation and other things. Rmarkdown omitted some css due to rendering issues with core r. This may be the case here. Help would still be appreciated if this is not the case.
I just started transitioning my website over to quarto from custom design because I think it might be easier. But I enjoy having custom little birds for each page, which I thought could be implemented easily but there seems to be something weird going on with the directory path for the image. I tried just with a fresh project and added the .png
file and it still doesn’t work.
My CSS:
/* css styles */
body.about-page {
cursor: url('cursor.png'), auto;
}
My about.qmd
:
---
title: "About Page"
output: html_document
css: styles.css
body_class: "about-page"
---
About this site
{r}
1 + 1
My yml:
project:
type: website
website:
title: "test"
navbar:
left:
- href: index.qmd
text: Home
- about.qmd
format:
html:
theme: cosmo
css: styles.css
toc: true
editor: visual
2
Answers