Skip to content

Editing the code

This page is for people comfortable with code. For small changes, try code injection first.

Unzip the theme, then in that folder run:

Terminal window
npm install
npm run dev # rebuilds the CSS and JavaScript as you edit
npm test # checks the theme with Ghost's official checker
npm run zip # builds everything and creates ../index.zip

Edit assets/css/screen.css and assets/js/main.js. The theme loads the compressed copies in assets/built/, which npm run build creates.