Assets folders being deleted

Here’s a weird one. I’m going through the step by step tutorial and currently working on assets. This section explains how to add CSS styling to the site navigation. I’m going through the directions, and when I serve my jekyll site and load it in my browser, the website loads. However, I get the error below.

ERROR /_site/assets/css/styles.css’ not found`

The CSS styling isn’t showing on the site navigation. I believe I’m following the directions. When I stop running the server, I traverse directories and notice that the css folder that I set up in my assets folder is no longer there. Has anyone else dealt with this?


sounds like you made it in the _site folder - that folder gets deleted every time you run jekyll. You only edit things in the root of the site.

1 Like

This worked, thanks @rdyar !

1 Like