# CSS not linked with Jekyll theme

**URL:** <https://talk.jekyllrb.com/t/css-not-linked-with-jekyll-theme/5020>\
**Category:** Help\
**Created:** [October 1, 2020, 6:37am UTC](https://talk.jekyllrb.com/t/css-not-linked-with-jekyll-theme/5020 "2020-10-01T06:37:53Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![muygalan](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/muygalan/32/2807_2.png) [@muygalan](https://talk.jekyllrb.com/u/muygalan)\
**Post date:** [October 1, 2020, 6:37am UTC](https://talk.jekyllrb.com/t/css-not-linked-with-jekyll-theme/5020/1 "2020-10-01T06:37:53Z")

</div>

Hi folks!

I recently installed and modified a Jekyll theme called “Martin Groeneveld” and pushed it to my Github repository [https://github.com/muygalan/blog](https://github.com/muygalan/blog)

The actual blog can be found at [https://www.joshuagalan.com/blog](https://www.joshuagalan.com/blog), but unfortunately, the CSS doesn’t appear to be linking correctly. It’s been ages since I’ve fiddled around with Jekyll and could really use the guidance to get this set up properly.

P.S. I tried to include additional links, but this website forum limited me to only 2…

---

<div class="post-metadata">

**Author:** ![muygalan](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/muygalan/32/2807_2.png) [@muygalan](https://talk.jekyllrb.com/u/muygalan)\
**Post date:** [October 1, 2020, 6:38am UTC](https://talk.jekyllrb.com/t/css-not-linked-with-jekyll-theme/5020/2 "2020-10-01T06:38:39Z")

</div>

And for reference, please visit the theme author’s demo page: [https://www.groveld.com](https://www.groveld.com) for a more accurate representation of how it is supposed to look with the CSS styling.

---

<div class="post-metadata">

**Author:** ![chuckhoupt](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/chuckhoupt/32/523_2.png) [@chuckhoupt](https://talk.jekyllrb.com/u/chuckhoupt)\
**Post date:** [October 1, 2020, 1:29pm UTC](https://talk.jekyllrb.com/t/css-not-linked-with-jekyll-theme/5020/3 "2020-10-01T13:29:37Z")

</div>

Looks like you got it fixed by setting the `url` to the empty string, instead of a relative path:

> <https://github.com/muygalan/blog/commit/2b805e63bfb63f64d3a14e83312a77df2eabda67>

---

<div class="post-metadata">

**Author:** ![muygalan](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/muygalan/32/2807_2.png) [@muygalan](https://talk.jekyllrb.com/u/muygalan)\
**Post date:** [October 1, 2020, 2:19pm UTC](https://talk.jekyllrb.com/t/css-not-linked-with-jekyll-theme/5020/4 "2020-10-01T14:19:18Z")

</div>

Unfortunately that did not solve the issue. The CSS and formatting on my current blog url ([http://www.joshuagalan.com/blog](http://www.joshuagalan.com/blog)) should look like the demo blog at [https://www.groveld.com/](https://www.groveld.com/)

---

<div class="post-metadata">

**Author:** ![rdyar](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/rdyar/32/710_2.png) [@rdyar](https://talk.jekyllrb.com/u/rdyar)\
**Post date:** [October 1, 2020, 11:50pm UTC](https://talk.jekyllrb.com/t/css-not-linked-with-jekyll-theme/5020/5 "2020-10-01T23:50:14Z")

</div>

I looked at it and it doesn’t really make sense to me - there are css references in your default layout that don’t exist on your live site. Seems fishy to me. Not sure what is going on.

If you make a minor text edit on GH does that show on the live site? to see if the site is building ok and to verify that it is really running off that repo?

---

<div class="post-metadata">

**Author:** ![muygalan](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/muygalan/32/2807_2.png) [@muygalan](https://talk.jekyllrb.com/u/muygalan)\
**Post date:** [October 2, 2020, 2:25am UTC](https://talk.jekyllrb.com/t/css-not-linked-with-jekyll-theme/5020/6 "2020-10-02T02:25:40Z")

</div>

I am receiving e-mail messages from Github titled:

**[muygalan/blog] Run failed: Deploy Jekyll site to GitHub Pages - master (2b805e6)**

## Run failed for master (2b805e6)

Repository: muygalan/blog  
Workflow: Deploy Jekyll site to GitHub Pages  
Duration: 4 minutes and 50.0 seconds  
Finished: 2020-10-02 00:47:28 UTC

[View results](https://github.com/muygalan/blog/actions/runs/283381560)

Jobs:

- [build](https://github.com/muygalan/blog/runs/1196490223) failed (1 annotation)

 ![image](https://canada1.discourse-cdn.com/flex030/uploads/jekyllrb/original/2X/2/218c3264a2b4c743d0327a928339e88e42ecebfc.png)

I wonder if this provides any further insight into what is happening?

---

<div class="post-metadata">

**Author:** ![rdyar](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/rdyar/32/710_2.png) [@rdyar](https://talk.jekyllrb.com/u/rdyar)\
**Post date:** [October 2, 2020, 3:38am UTC](https://talk.jekyllrb.com/t/css-not-linked-with-jekyll-theme/5020/7 "2020-10-02T03:38:21Z")

</div>

well without it deploying you can’t really tell what is wrong with your css.

I am not familiar with GH actions, you’ll need to sort out why it is failing, it looks like it builds ok but then it errors when it deploys for some reason.

---

<div class="post-metadata">

**Author:** ![muygalan](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/muygalan/32/2807_2.png) [@muygalan](https://talk.jekyllrb.com/u/muygalan)\
**Post date:** [October 4, 2020, 4:48am UTC](https://talk.jekyllrb.com/t/css-not-linked-with-jekyll-theme/5020/8 "2020-10-04T04:48:57Z")

</div>

UPDATE: I got in contact with the author of this theme and he also agreed something peculiar was happening on Github. Long story short: he modified his theme a bit to “play nicely” with Github and now the theme is working properly.

Thank you to everyone who replied and especially the author who took time to assist me with this issue.
