Single post pages missing CSS

Hi everyone, I’m building a personal site with blog posts but when I click on a single post to view its page, all of the CSS seems to be missing. My post is in content/post/, and it is using a template in layouts/post/single.html, but even the partials that single.html calls aren’t displaying the CSS formatting. I’ve been making this as a mashup between two themes so I may have missed copying something over, but because it’s using the correct layout, I’m not sure where I went wrong. Any help would be great, and let me know if I need to provide any more information about the issue. Thanks!

Sounds like you might have an issue with the path to your CSS in your <head>.

Your links should look like this:
<link rel="stylesheet" href="/css/mycss.css">

I don’t know what browser you’re using but if you open the developer tools, e.g. on Chrome right click anywhere in the browser window and select “Inspect” than click the tab “Sources” and you should see what css files are available if any.

1 Like

Ha, you’re right! That layout is the only one where I overlooked including my “head.html” partial in it, so the path just wasn’t there. Thank you!