janczizikow / sleek

:chart_with_upwards_trend: Sleek is a modern Jekyll theme focused on speed performance & SEO best practices
https://janczizikow.github.io/sleek/
MIT License
423 stars 638 forks source link

how to get main.css to update? #44

Closed nsteinme closed 6 years ago

nsteinme commented 6 years ago

Sorry, I'm sure this is a beginner question, but I am trying to update the css on the hero image (increase transparency a bit) and when I edit /_sass/pages/_page.scss the changes don't seem to get incorporated into /assets/css/main.css. How do I get this to "build" properly, or do I need to edit main.css directly?

I'm running the site by forking your repo (here: https://github.com/SteinmetzLab/SteinmetzLab.github.io) and using github pages.

Thanks!

janczizikow commented 6 years ago

Hey @nsteinme ,

All the files from _sass are compiled by gulp so you have to run gulp sass from the command line in the root directory of your project. alternatively you can just run gulp instead of normal jekyll command to build jekyll server and hot-reload all the changes to css / js

Hope that helps!

nsteinme commented 6 years ago

Excellent, yes, that worked, sorry I missed that!