# Github-pages compatible Jekyll theme not building correctly

**URL:** <https://talk.jekyllrb.com/t/github-pages-compatible-jekyll-theme-not-building-correctly/5835>\
**Category:** Help\
**Created:** [April 2, 2021, 2:14pm UTC](https://talk.jekyllrb.com/t/github-pages-compatible-jekyll-theme-not-building-correctly/5835 "2021-04-02T14:14:18Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![marcosbacon](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/marcosbacon/32/1610_2.png) [@marcosbacon](https://talk.jekyllrb.com/u/marcosbacon)\
**Post date:** [April 2, 2021, 2:14pm UTC](https://talk.jekyllrb.com/t/github-pages-compatible-jekyll-theme-not-building-correctly/5835/1 "2021-04-02T14:14:18Z")

</div>

Hi. I just cloned a [Jekyll theme](https://github.com/wowthemesnet/jekyll-theme-memoirs) (with a [demo](https://wowthemesnet.github.io/jekyll-theme-memoirs/) running smoothly on Github Pages), customized it and after enabling the Github Pages option, Github built the site without the style.

I noticed that for some reason Github points my repo has SCSS, which the original one doesn’t.

Any help would be well appreciated. Thanks in advance.

---

<div class="post-metadata">

**Author:** ![MichaelCurrin](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/michaelcurrin/32/2340_2.png) [@MichaelCurrin](https://talk.jekyllrb.com/u/MichaelCurrin)\
**Post date:** [April 2, 2021, 2:37pm UTC](https://talk.jekyllrb.com/t/github-pages-compatible-jekyll-theme-not-building-correctly/5835/2 "2021-04-02T14:37:28Z")

</div>

Hi.

Firstly make sure your repo name is the same as the original repo and the value in the config.

```auto
baseurl: /jekyll-theme-memoirs

```

As that will be used to build URLs

E.g.

```auto
/jekyll-theme-memoirs/styles.css

```

Your sentence on points to SCSS doesnt make sense. Can you rephrase and provide a link to your repo?

Looking at the Gemfile of the theme, it used bootstrap, which is not supported on GitHub Pages.

Here are supported gems.

> **[Dependency versions](https://pages.github.com/versions/)**
>
> GitHub Pages uses the following dependencies and versions

I have a site here for running GH Actions so you can use bootstrap etc. as a gem

> **[MichaelCurrin/jekyll-gh-actions-quickstart](https://github.com/MichaelCurrin/jekyll-gh-actions-quickstart)**
>
> Starter template for a Jekyll 4 site - deployed with GH Actions and GH Pages

---

<div class="post-metadata">

**Author:** ![MichaelCurrin](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/michaelcurrin/32/2340_2.png) [@MichaelCurrin](https://talk.jekyllrb.com/u/MichaelCurrin)\
**Post date:** [April 2, 2021, 2:47pm UTC](https://talk.jekyllrb.com/t/github-pages-compatible-jekyll-theme-not-building-correctly/5835/3 "2021-04-02T14:47:11Z")

</div>

I would also recommend against forking, cloning or downloading a theme. Unless you intend to make your own theme or contribute to the theme.

A much lighter pattern is provided by Jekyll. Choose a theme in the config and then add content and style overrides.

In the case of themes not the in standard themes you can use Remote Theme plugin as I do here.

> **[MichaelCurrin/jekyll-theme-quickstart](https://github.com/MichaelCurrin/jekyll-theme-quickstart/tree/gh-pages)**
>
> gh-pages

---

<div class="post-metadata">

**Author:** ![marcosbacon](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/marcosbacon/32/1610_2.png) [@marcosbacon](https://talk.jekyllrb.com/u/marcosbacon)\
**Post date:** [April 2, 2021, 3:06pm UTC](https://talk.jekyllrb.com/t/github-pages-compatible-jekyll-theme-not-building-correctly/5835/4 "2021-04-02T15:06:13Z")

</div>

> [@MichaelCurrin](#):
>
> Hi.
> 
> Firstly make sure your repo name is the same as the original repo and the value in the config.
> 
> ```auto
> baseurl: /jekyll-theme-memoirs
> 
> ```
> 
> As that will be used to build URLs

This fixed it. Thank you so much. I will consider your other suggestions as I get more experience in Jekyll and Github.

---

<div class="post-metadata">

**Author:** ![MichaelCurrin](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/michaelcurrin/32/2340_2.png) [@MichaelCurrin](https://talk.jekyllrb.com/u/MichaelCurrin)\
**Post date:** [April 2, 2021, 7:02pm UTC](https://talk.jekyllrb.com/t/github-pages-compatible-jekyll-theme-not-building-correctly/5835/5 "2021-04-02T19:02:12Z")

</div>

Great to hear.

BTW Jekyll docs have a section on installing a theme [Themes | Jekyll • Simple, blog-aware, static sites](https://jekyllrb.com/docs/themes/#installing-a-theme)
