Customizing SMF > Tips and Tricks

Theme color options for members (SMF 2.1 default theme)



Styles taken from Curve2 Color Changer   + smf 2.1 dark mode style.
Style 1: Default
Style 2: Dark
Style 3: Dark blue
Style 4: Light red
Style 5: Light orange

index.template.php find

--- Code: ---global $settings, $txt;
--- End code ---
add after

--- Code: ---    $settings['theme_variants'] = array('style1', 'style2', 'style3', 'style4', 'style5');
--- End code ---
upload all styles to Themes/ default/ css folder    upload  menudark.svg   to Themes/ default/ images / icons  folder


[0] Message Index

Go to full version