Custom Gitbook Themes

FixMySync picture FixMySync · May 9, 2014 · Viewed 9.5k times · Source

Does anyone know how to modify the look of a git book? I've seen 2 books that have a different look from the default: http://codac.co/ http://coalman.github.io/tott-gulpjs/book/

But can someone point me in the right direction of how to customize the look and/or build a custom theme for gitbook?

I can't seem to find any documentation on customizing a gitbook.

Answer

SeaDude picture SeaDude · May 30, 2016

If you are using the CLI Toolchain (as opposed to the online editor noted above), you need to create a directory called '/styles' in the root of your book then add a 'website.css' file to that directory.

Customize that website.css file to adjust the style of your gitbook.

'gitbook serve' or 'gitbook build' when done to view changes.