# Styles Not Working on GitHub

**URL:** <https://discourse.gohugo.io/t/styles-not-working-on-github/13296>\
**Category:** support\
**Created:** [August 1, 2018, 7:14pm UTC](https://discourse.gohugo.io/t/styles-not-working-on-github/13296 "2018-08-01T19:14:32Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![maxpell95](https://avatars.discourse-cdn.com/v4/letter/m/e8c25b/32.png) [@maxpell95](https://discourse.gohugo.io/u/maxpell95)\
**Post date:** [August 1, 2018, 7:14pm UTC](https://discourse.gohugo.io/t/styles-not-working-on-github/13296/1 "2018-08-01T19:14:32Z")

</div>

Really odd, some my theme styles for my hugo site do not work on post pages and anything other than he index on the GitHub server, however they do locally. Not only this but for some reason I cannot get Hugo to work with the Netlify CMS correctly as on the /admin it doesn’t do anything if I try to login through Github or Google. It just ends up being admin/#/ and thats it, I’ve looked at a lot of the docs but cannot find anything. Heres my links:

Test Website:  
[https://hopeful-brown-86835f.netlify.com/](https://hopeful-brown-86835f.netlify.com/)

Here is an example of whats happening:  
[https://hopeful-brown-86835f.netlify.com/my-awesome-first-post/](https://hopeful-brown-86835f.netlify.com/my-awesome-first-post/)

Repository:  
[https://github.com/maxpell95/PortfolioWebsite](https://github.com/maxpell95/PortfolioWebsite)

If anyone knows a solution to these problems I would be most grateful, thanks.

---

<div class="post-metadata">

**Author:** ![parsiya](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/parsiya/32/1218_2.png) [@parsiya](https://discourse.gohugo.io/u/parsiya)\
**Post date:** [August 1, 2018, 7:20pm UTC](https://discourse.gohugo.io/t/styles-not-working-on-github/13296/2 "2018-08-01T19:20:05Z")

</div>

It cannot load the css files. Have you setup the baseURL in the config file to point to your netlify URL?

---

<div class="post-metadata">

**Author:** ![maxpell95](https://avatars.discourse-cdn.com/v4/letter/m/e8c25b/32.png) [@maxpell95](https://discourse.gohugo.io/u/maxpell95)\
**Post date:** [August 1, 2018, 7:21pm UTC](https://discourse.gohugo.io/t/styles-not-working-on-github/13296/4 "2018-08-01T19:21:42Z")

</div>

No I haven’t I left it blank, does that solve it

---

<div class="post-metadata">

**Author:** ![maxpell95](https://avatars.discourse-cdn.com/v4/letter/m/e8c25b/32.png) [@maxpell95](https://discourse.gohugo.io/u/maxpell95)\
**Post date:** [August 1, 2018, 7:23pm UTC](https://discourse.gohugo.io/t/styles-not-working-on-github/13296/5 "2018-08-01T19:23:51Z")

</div>

Okay I tried that, nothing has changed.

---

<div class="post-metadata">

**Author:** ![maxpell95](https://avatars.discourse-cdn.com/v4/letter/m/e8c25b/32.png) [@maxpell95](https://discourse.gohugo.io/u/maxpell95)\
**Post date:** [August 1, 2018, 7:26pm UTC](https://discourse.gohugo.io/t/styles-not-working-on-github/13296/6 "2018-08-01T19:26:37Z")

</div>

Wait it worked!! thanks!, I now just have this admin backend issue

---

<div class="post-metadata">

**Author:** ![parsiya](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/parsiya/32/1218_2.png) [@parsiya](https://discourse.gohugo.io/u/parsiya)\
**Post date:** [August 1, 2018, 9:21pm UTC](https://discourse.gohugo.io/t/styles-not-working-on-github/13296/7 "2018-08-01T21:21:18Z")

</div>

Great. I have never used Netlify so I cannot help with that.
