Skip to content

How can I customize my default Jekyll theme to my preferred layout or design? #21543

Answered by AlMcKinlay
osioke asked this question in General
Discussion options

You must be logged in to vote

Hi there,

You can add custom css and html files into your Jekyll site.

From this page on github help, you can create a scss/css file at /assets/css/style.scss and add the following to the top of the file:

---
---

@import "{{ site.theme }}";

Then any custom css can be put after these lines in this file and it will be included in your site.

Replies: 6 comments

Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants