Customization

From Vichan Wiki
Revision as of 23:23, 8 April 2024 by 46.38.255.27 (talk) (Created page with "This page covers vichan customization. == Styles == === Location === Styles are located in /stylesheets/ and use CSS. === Adding your own style === 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 === To change default style, edit /inc/config.php and find the line $config['stylesheets']['Yotsuba B'] = ''; . To add more styles, co...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.