Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
How do I adjust the Sub-Forums display?
Avatar
Theo Patsios
Member
Free Members
sp_UserOfflineSmall Offline
Oct 25, 2012 - 1:40 am

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

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Oct 25, 2012 - 5:21 am

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/.....g-a-theme/)

andy-signature.png
YELLOW
SWORDFISH
Avatar
Theo Patsios
Member
Free Members
sp_UserOfflineSmall Offline
Oct 25, 2012 - 7:02 am

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

Avatar
Theo Patsios
Member
Free Members
sp_UserOfflineSmall Offline
Oct 25, 2012 - 7:04 am

and also indent them a little further?

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Oct 25, 2012 - 7:14 am

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.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Theo Patsios
Member
Free Members
sp_UserOfflineSmall Offline
Oct 25, 2012 - 10:26 am

Job done,

Thanks again,

Theo

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Oct 25, 2012 - 2:37 pm

excellent.

andy-signature.png
YELLOW
SWORDFISH
Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17362
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625