Hello,
I am creating an interactive html/shiny document. The css is not being read, and I get no errors, however the render output (below) states document-css: false. This YAML/ css works fine when we publish just to html. Does anyone have any ideas?
I followed the instructions here:External Resources – Quarto The css is in a separate folder called css. There is a subfolder with the image called images. I also tried this with a subfolder www and also tried the regular html way of having the css in the working directory. My yaml is :
Since the CSS works when publishing to HTML, have you verified if the issue is specific to the Shiny format? Does the CSS load correctly in other Shiny applications?
Hello,
Thank you for the suggestion to try it just on a Shiny app. I did and it still did not work. I followed the suggestions here: Shiny - Using custom CSS in your app for external css files. I tried the file based css option and the includeCSS(). I think it did not work because the css is using quarto language (quarto-title-block .quarto-title-banner ) which works in a regular quarto html document, but perhaps not in these interactive documents using shiny. I'll play around with some shiny language in the css and see if that helps. Thanks for the suggestion which may lead to an answer !
I'm a statistician, not a CSS person. I'm just trying to put the orgs logo on the title banner in an interactive document. None of the solutions for Shiny placement of logos seem to be relevant, the shiny portion of the documents are about midway down. and the the html solution doesn't work for this application.