This tutorial shows you how to customize the Hadron theme. By customizing the theme, you do more than just changing some options: You change the look and feel of your website by editing the theme's source code (CSS/ SCSS, JavaScript, Twig).
Since you may edit CSS/ SCSS, JavaScript, and Twig files, it is recommended to have some knowledge of these languages. If you are not familiar with them, you can still customize the theme by changing the theme options in the Admin Panel. See the Hadron Theme Options for more information.
In Grav, there are multiple ways to customize a theme (see Grav Docs for further info). Basically, there are two ways to customize the Hadron theme:
The easiest way to customize the Hadron theme is to use the Hadron Skeleton. The Hadron Skeleton is a pre-configured Grav package that includes the Hadron theme and some demo content.
The Hadron Skeleton also includes a 3rd theme called «Local», which basically is what it sounds like: a local theme, directly in the skeleton, ready to be customized. This way, you can customize the theme without losing your changes when you update the theme.
If you rather not use the Hadron Skeleton, you can also create a child theme manually. For more information, see the Grav Docs. This is useful if you already habe a Grav installation and want to add the Hadron theme to it. But if you want to create a new website with Grav + Hadron, the skeleton might be the better choice.
Nevertheless, it can be useful to take over some of the Local Theme to facilitate the customizations. You can find the code in the Hadron Skeleton on GitHub under themes/local
.