File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11---
2- title : " Hooks "
3- date : " 2024-10-06 "
4- summary : " Layout hooks "
5- description : " Layout hooks "
2+ title : " Advanced Customization "
3+ date : " 2024-10-07 "
4+ summary : " Advanced customization options "
5+ description : " Advanced customization options "
66toc : false
77readTime : false
88autonumber : true
99math : false
1010showTags : false
11+ hideBackToTop : true
1112---
1213
14+ ## Custom CSS
15+
16+ The theme supports custom css, you can override anything you want by redefining classes in the ` assets/css/custom.css ` file.
17+
18+ For instance, changing the main width can be done as follows:
19+
20+ ``` css
21+ :root {
22+ --main-width : 1024px ; /* overrides default of 780px */
23+ }
24+ ```
25+
26+ Note that backward incompatible changes in the CSS will likely not happen, but there might be cases in the future where
27+ backward compatibility is not possible. If you are overriding a huge amount of CSS I suggest you forking the project instead of
28+ defining it here.
29+
30+ ## Hooks
31+
1332Hooks allow to customize layouts by injecting custom code at specific points in the layout.
1433Hooks are defined in the ` layouts/partials/hooks ` directory.
1534The following hooks are currently available:
Load diff This file was deleted.
You can’t perform that action at this time.
0 commit comments