Skip to content

Custom CSS not loading #2158

Answered by cotes2020
seaque asked this question in Q&A
Dec 31, 2024 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

The _saas/variables-hook.scss has been deprecated in #2052 of v7.2.0.

If you want to achieve the same effect on the latest starter (v7.2.0+), please follow the example below to override the default values:

In file assets/css/jekyll-theme-chirpy.scss:

---
---

+@use 'abstracts/variables' with ( 
+  $sidebar-width: 250px 
+);

@use 'main
{%- if jekyll.environment == 'production' -%}
  .bundle
{%- endif -%}
';

/* append your custom style below */

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@seaque
Comment options

Answer selected by seaque
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants