Github Pages not applying CSS styles

Github Pages not applying CSS styles
0

#1

Hello,

I have a Wordpress site I made that I’m trying to show live on Github Pages. It’s applying the static page, but the css styles are not being applied, and I can’t figure out why. Since this site is more than one page, I’m also trying to figure out how to have the other pages hosted on Github pages when they click the links on the first page.

Here’s the repo: https://github.com/sashakyunghwa/blog

settings used in Simply Static plugin:

I was following these instructions: https://www.hywel.me/static/site/wordpress/2016/07/17/fast-free-static-website-with-wordpress-and-github-pages.html


#2

Where is the actual github page?


#3

Here is the Github Page https://sashakyunghwa.github.io/blog/

I actually got the css to work now, but I’m still having an issue with the Instagram widget showing up on the bottom of the page. Any insight on why the widget may not be appearing?

Thanks


#4

You are getting a 405 error for https://sashakyunghwa.github.io/blog/wp-admin/admin-ajax.php listed in your JavaScript code.


#5

Thank you. I’m pretty new to Wordpress, any suggestions on what I should do here?


#6

Never used Wordpress in my life and probably never will.

I was thinking you can not use php on github pages, but I could be wrong.


#7

I think you are confusing me.
WordPress needs a database to provide content. If you want to host a WordPress site on the internet you need to either

  1. pay for web hosting (for example Hostgator)

  2. host a site on Wordpress.com

You cannot host a fully working WordPress site on github pages (otherwise everyone would do that).
You can, however, create a page which mocks what the WordPress theme will look like.
And you can save your WordPress project files on github.