Support Forum

How do I adjust the Sub-Forums display?

TP Theo Patsios
Theo Patsios
Member

Hello,

I would like my sub-forums to list 1 underneath the other whilst maintaining the space from the left where ‘sub-forums’ is actually written… see this pic for a visual – http://clip2net.com/s/2qMf8

The red boxes should help clear up what I just said.

Please let me know which files I need to play with to make this happen, I took a look around but was unable to figure it out by myself.

Thanks,

Theo

6 Answers

New Answer

YS Yellow Swordfish
Yellow Swordfish
Member

You will need to make a small edit to your spGroupView.php template. You will find this in the templates folder of the SP theme you are using and you can use the theme editor tool in the forum admin.

Locate in that template the display function named sp_ForumIndexSubForums().

By default it will probably look like this:

sp_ForumIndexSubForums('', __sp('Sub-Forums'), __sp('Browse topics in %NAME%'));

You need to add an argument to this function call like this:

sp_ForumIndexSubForums('stack=1', __sp('Sub-Forums'), __sp('Browse topics in %NAME%'));

That should give you what you want. As always we recommend that you create your own SP theme so that any customisation is not lost during a future update. (http://codex.simple-press.com/codex/themes/theme-basics/creating-a-theme/)

TP Theo Patsios
Theo Patsios
Member

truly amazing .. you guys have done a great job making this user friendly.

I have them stacked how I wanted – http://clip2net.com/s/2qQd4

How can I increase the font size of those sub-forums now?

 

Thanks a million,

Theo

YS Yellow Swordfish
Yellow Swordfish
Member

You will need to look in the CSS file for your theme and find the entry for:

#spMainContainer .spInRowSubForums .spInRowLabel ul, #spMainContainer .spInRowSubForums .spInRowLabel

where you can add margins/padding/font size etc.