I have a related issue, the url() of the file returns the media folder. But the file i’m loading is a css with an @font-face inside with relative path like font.woff. So obviously is not finding the font file.
sorry. Yes, both, the css and the fonts, are in the same page folder. So the css has relative path to the fonts. I want to store the font files in the page instead the assets folder, because they change from page to page.
And I’m loading the css folder like this in the header snippet.
The other option would be to create a [`File::url` component](https://getkirby.com/docs/reference/plugins/components/file-urls).
Note that if you provide files through the content folder, that your content folder has to be in the web root.