user2705939 user2705939 - 10 months ago 90
CSS Question

jekyll - css styles are not working

I have recently started using Jekyll.

I downloaded this theme DentistSmile

When I use jekyll build, _site is created, but it does not render css style(s). It has the css folder.

Pl find attached pic of how it looks on MY server.

enter image description here

I am very new to web development and don't understand much of html and css stuff. So pl help

Here is the code of index.html from generated _site folder.
FYI, I am on windows.

Answer Source

You should not upload the _site folder, only its contents, as your CSS link is absolute.