Customization

From Vichan Wiki
Jump to navigationJump to search

This page covers vichan customization.

Styles[edit | edit source]

Location[edit | edit source]

Styles are located in /stylesheets/ and use CSS.

Adding your own style[edit | edit source]

To add your own style, simply create a file with whatever you want your style to be named and add .css as the file extension.

Changing default style and adding more for users to change[edit | edit source]

To change default style, edit /inc/config.php and find the line $config['stylesheets']['Yotsuba B'] = ; . To add more styles, copy this line $config['stylesheets']['Dark'] = 'dark.css'; and change the name as in this case Dark and dark.css, the first part is the name and the second is the style filename.

Templates[edit | edit source]

Location[edit | edit source]

Templates are located in /templates/ and use Twig templating system.

Themes[edit | edit source]

Themes are single click installable extra pages that can be installed within the mod dashboard.