# Jekyll website behaves like there is no css file

**URL:** <https://talk.jekyllrb.com/t/jekyll-website-behaves-like-there-is-no-css-file/2820>\
**Category:** Help\
**Created:** [April 10, 2019, 3:54pm UTC](https://talk.jekyllrb.com/t/jekyll-website-behaves-like-there-is-no-css-file/2820 "2019-04-10T15:54:25Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![gitsa\_24](https://avatars.discourse-cdn.com/v4/letter/g/ba8739/32.png) [@gitsa\_24](https://talk.jekyllrb.com/u/gitsa_24)\
**Post date:** [April 10, 2019, 3:54pm UTC](https://talk.jekyllrb.com/t/jekyll-website-behaves-like-there-is-no-css-file/2820/1 "2019-04-10T15:54:25Z")

</div>

Hello! I have problems whith my Jekyll site. When I run it locally everything is fine, but on my github page looks like this( [https://gerganatsirkova.github.io/lawyer-s-website/](https://gerganatsirkova.github.io/lawyer-s-website/) ), like there is no css file at all. Link to my repo [https://github.com/GerganaTsirkova/lawyer-s-website](https://github.com/GerganaTsirkova/lawyer-s-website)  
Does somebody know where are my mistakes?

---

<div class="post-metadata">

**Author:** ![mmistakes](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/mmistakes/32/2169_2.png) [@mmistakes](https://talk.jekyllrb.com/u/mmistakes)\
**Post date:** [April 10, 2019, 4:03pm UTC](https://talk.jekyllrb.com/t/jekyll-website-behaves-like-there-is-no-css-file/2820/2 "2019-04-10T16:03:03Z")

</div>

This is easily the number one issue Jekyll users have. Search through the old posts for some more pointers.

But essentially your layout is looking for `https://gerganatsirkova.github.io/lawyer-s-website/css/style.css`, which doesn’t exist. And looking at your repo you have `style.scss` in folder `_assets/scss/` which appears to then use Gulp to build into a `style.css` file.

You’ll need to have Gulp place that in `/css/style.css` and then commit to your repo so it can be copied into `_site` and available for your Jekyll produced HTML to see. Or adjust the paths in your layouts to point to wherever `style.css` lives perhaps `/assets/css/style.css`?

---

<div class="post-metadata">

**Author:** ![gitsa\_24](https://avatars.discourse-cdn.com/v4/letter/g/ba8739/32.png) [@gitsa\_24](https://talk.jekyllrb.com/u/gitsa_24)\
**Post date:** [April 10, 2019, 4:13pm UTC](https://talk.jekyllrb.com/t/jekyll-website-behaves-like-there-is-no-css-file/2820/3 "2019-04-10T16:13:24Z")

</div>

I’ve changed the path to " /assets/css/style.css", but it didn’t work. Thanks for the answer! I will check the old posts.

---

<div class="post-metadata">

**Author:** ![ashmaroli](https://avatars.discourse-cdn.com/v4/letter/a/df705f/32.png) [@ashmaroli](https://talk.jekyllrb.com/u/ashmaroli)\
**Post date:** [April 10, 2019, 4:22pm UTC](https://talk.jekyllrb.com/t/jekyll-website-behaves-like-there-is-no-css-file/2820/4 "2019-04-10T16:22:13Z")

</div>

@gitsa_24 I think you did not fully understand the suggestion posted by `@mmistakes` above.  
He asked you to commit the css file generated by Gulp into your repository.  
I do not see an `assets/css/style.css` in your repo…

---

<div class="post-metadata">

**Author:** ![mmistakes](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/mmistakes/32/2169_2.png) [@mmistakes](https://talk.jekyllrb.com/u/mmistakes)\
**Post date:** [April 10, 2019, 4:26pm UTC](https://talk.jekyllrb.com/t/jekyll-website-behaves-like-there-is-no-css-file/2820/5 "2019-04-10T16:26:22Z")

</div>

I noticed it in the repo’s [`/docs` folder](https://github.com/GerganaTsirkova/lawyer-s-website/blob/master/docs/). So maybe @gitsa_24 is building the site locally and then committing the contents of `_site` to GitHub Pages to serve… versus having it build from source.

@gitsa_24 If I change the path in the browser’s web developer tools the styles load. So the combination of having your path correct and the asset being in the properly location are key to getting this to work.

This is more of a HTML issue than something Jekyll did wrong.
