Themes Coder Katora HTMLDocs
Customise

Customisation

Change the template through its Sass variables, then recompile with Gulp (see Installation).

Brand colours#

Open scss/private/_variables.scss. The two main colours are:

$primary:   #333 !default;     // main colour of the website
$secondary: #c29958 !default;  // buttons and highlights

Change them, save, and the CSS recompiles. $primary-dark and $primary-light just above them are the hover shades.

Colour skins#

Besides the default gold, css/ has six ready-made skins: blue.css, green.css, navy-blue.css, pink.css, red.css and yellow.css. Each is a complete stylesheet.

The colour switcher on the demo adds the chosen skin after style.css while you browse. To use a skin on your site, add its <link> after style.css in the <head> of every page:

<link rel="stylesheet" type="text/css" href="css/style.css">
<link rel="stylesheet" type="text/css" href="css/blue.css">

The skins are pre-built and the Gulp build doesn't regenerate them. If you change the Sass, use your own colours in _variables.scss instead of a skin.

Fonts#

The website uses Montserrat, from the files in fonts/. The families are set in scss/private/_variables.scss:

$font-family-sans-serif:     'Montserrat-Regular', sans-serif !default;
$font-family-base-bold:      'Montserrat-Bold', sans-serif !default;
$font-family-base-extrabold: 'Montserrat-ExtraBold', sans-serif !default;

The @font-face rules for these files are in the same file. To use another font, add its files (or a Google Fonts link in the page <head>) and change these variables.

Icons#

The template uses Font Awesome 5 icons, loaded from Font Awesome's CDN in each page's <head>:

<i class="fas fa-shopping-cart"></i>

Any icon from the free Font Awesome 5 set works.