Need Help with CSS Loading Issue in Grav CMS Tiny HTML Editor

Hi,

I’m working on getting Grav CMS to display my client’s HTML files in a way that makes them easily editable. So far, I’ve managed to load some images inside the HTML editor, but I’m running into an issue with loading the CSS.

Here’s what I’ve tried so far:

  • I understand that in Grav, the Twig template files handle the layout and structure. I’ve used the file named base.html.twig, which typically controls elements like the
`<head>` section where CSS is linked.
File path: `user/themes/quark/templates/partials/base.html.twig`
Same thing below 3 different pathings I tried.
<link rel="stylesheet" href="/user/themes/yourtheme/css/styles.css">
<link rel="stylesheet" href="{{ theme_url }}/css/styles.css">
<link rel="stylesheet" href="/user/themes/quark/css/styles.css">
  • I’ve also cleared the cache in Grav.

Could you provide any insight into why the CSS isn’t loading in the editor?

Thank you for your time.

Best regards,
Joe

Got to love chatgpt going to check out the paid service:
Yes, Grav CMS does offer paid support through its official website. The core team provides professional support packages for businesses and individuals who need assistance with setup, development, customization, or troubleshooting. You can purchase support directly from their site, and it typically includes priority email support and access to advanced resources. Additionally, they offer services like consulting and custom development, depending on your project needs.