XF 2.1 Style List Order

Dragonfruit

Well-known member
Hi,
Looking for help on creating a style list order like this:

screenshot_3-png.209619


Thanks!
 
Welcome to XenForo! :)

Edit the template: style_chooser

Find this line: (line 27)

Code:
<ul class="listPlain listColumns">

Change to:

Code:
<ul class="listPlain">

Next fine this line: (line 34)

Code:
}) }}" class="menu-linkRow">{$style.title}{{ !$style.user_selectable ? ' *' : '' }}</a>

Change to:

Code:
}) }}" class="menu-linkRow">{{ repeat('--', $style.depth) }} {$style.title}{{ !$style.user_selectable ? ' *' : '' }}</a>

And... you're done!
 
Welcome to XenForo! :)

Edit the template: style_chooser

Find this line: (line 27)

Code:
<ul class="listPlain listColumns">

Change to:

Code:
<ul class="listPlain">

Next fine this line: (line 34)

Code:
}) }}" class="menu-linkRow">{$style.title}{{ !$style.user_selectable ? ' *' : '' }}</a>

Change to:

Code:
}) }}" class="menu-linkRow">{{ repeat('--', $style.depth) }} {$style.title}{{ !$style.user_selectable ? ' *' : '' }}</a>

And... you're done!
I made this change, the problem I'm seeing is that child themes are not giving me the added indents for the child themes. They're all just listed straight.

I've had this problem since installation, it's not something this caused, I'm just not sure why mine is not working correctly. it makes it difficult to see a list of styles and none showing a parent
 
Back
Top Bottom