Skip to content

Invalid CSS Error #9028

Answered by pranabdas
Isaac-Tait asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @Isaac-Tait, Can you try using bundler? In case you don't have it installed, you can follow the installation instructions https://jekyllrb.com/docs/installation/ If I run bundle install followed by bundle exec jekyll serve in your project, I do not see any error. However, your CSS linking is incorrect. Your main.css is generated at /assets/main.css (as it is processed from assets/main.scss), but you link /assets/css/main.css in _layouts/default.html. You can either link /assets/main.css or place your main.scss at assets/css/main.scss.

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by Isaac-Tait
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants