News:

Wondering if this will always be free?  See why free is better.

Main Menu

Shrink header by default?

Started by cxk, February 06, 2016, 04:59:27 PM

Previous topic - Next topic

cxk

I'd like to have the header shrunk by default for all users. Is that possible?

br360

In your index.template.php (the default theme OR the custom theme you are using)...

Find-
bCurrentlyCollapsed: ', empty($options['collapse_header']) ? 'false' : 'true', ',

Replace with-
bCurrentlyCollapsed: ', empty($options['collapse_header']) ? 'true' : 'false', ',

That will change the header to shrink by default for all members. If you also want it to shrink by default for guests as well...

Find-
bUseThemeSettings: ', $context['user']['is_guest'] ? 'false' : 'true', ',

Replace with-
bUseThemeSettings: ', $context['user']['is_guest'] ? 'true' : 'false', ',

cxk


Advertisement: