Skip to content
This repository was archived by the owner on Apr 1, 2024. It is now read-only.
This repository was archived by the owner on Apr 1, 2024. It is now read-only.

Can't change the bootstrap primary color #7

@ricardogsilva

Description

@ricardogsilva

I have created a _sass/_custom-variables.scss file with the following contents:

$primary: #9949f5;

Then in my _includes/header.html I have:

<header>
  <nav class="navbar navbar-expand-lg navbar-dark bg-primary">
    <!-- rest of my navbar omitted for brevity -->
  </nav>
</header>

Since I have overriden bootstrap's $primary variable and since I am assigning the bg-primary class to my navbar, I would expect my navbar's background color to be set to #9949f5, which is a purplish color. However, when I build my jekyll site, I still the stock bootstrap blue as the background.

It is not clear to me whether this is a bug with this jekyll theme or if I am doing something wrong.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions