-
Checklist
How did you create the site?Generated from DescriptionHi, I did started the chirpy-starter, is there any way to change the layaout if there is no _layouts folder? For example center this icons. Operations you have already triedSearch on google. Anything else?No response |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Hi @BorjaAB. It's possible to change the layout by overriding the existing one. To do this, you need to create a file e.g. So, for simple UI changes that can be achieved using CSS styles, the option to add your own styles to |
Beta Was this translation helpful? Give feedback.
-
I have similar issue to this question, but I'm new to gem-based theme, so I wonder if there's any way that I can add custom layouts to chirpy? |
Beta Was this translation helpful? Give feedback.
Hi @BorjaAB.
It's possible to change the layout by overriding the existing one. To do this, you need to create a file e.g.
_layouts/post.html
that will take effect instead of the predefined one with the same filename. However, this option has its drawbacks, as you will have to manually support any future changes to stay in sync with the theme files.So, for simple UI changes that can be achieved using CSS styles, the option to add your own styles to
assets/css/jekyll-theme-chirpy.scss
is preferable.