Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
themes-topic
Forum Layout
Avatar
Brian Siu
Member
Free Members
sp_UserOfflineSmall Offline
Apr 25, 2014 - 2:08 am

There's a gap between each forum, and it does not look this way in the sample picture. Is there a setting for this? Also, the sub forum icons are huge. What size should they be or how do I resize them?

Image Enlarger

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Apr 25, 2014 - 6:18 am

I do not know what you are referring to when you say 'gap' so I will need more information on that but we can talk about he sub-forum icons.

It is somewhat odd though because unless modified these should receive a default width of 20px and I do know we have other users for whom they are successfully showing up at the right size.

Do - let's see. Can you take a look at the spGroupView.php template in the /templates folder of the theme you are using. Unified - yes?

Locate the call to the function sp_ForumIndexSubForums(). This will be on the template twice - once for a mobile display and once for a desktop - i.e., if($spDevice != 'mobile' -.

Can you try adding a new argument to the argument list. It probably currently look like:

sp_ForumIndexSubForums('unreadIcon=sp_SubForumUnreadIcon.png', __sp('Sub-Forums'), __sp('Browse topics in %NAME%'));

can you try adding to it as so:

sp_ForumIndexSubForums('unreadIcon=sp_SubForumUnreadIcon.png&iconWidth=20', __sp('Sub-Forums'), __sp('Browse topics in %NAME%'));

Note the ampersand before the new argument. I would do it for both of the calls in the template and then letls see if that solves it. If not then the question has to be do you have any other issues with image sizes?

andy-signature.png
YELLOW
SWORDFISH
Avatar
Brian Siu
Member
Free Members
sp_UserOfflineSmall Offline
Apr 25, 2014 - 7:16 am

The group background does not cover the threads, so it looks like there is a gap between them. For example, between Class Discussion and Tournaments in the picture there is a white space.

 

I do have issues with image sizes. Should I try adding the new argument?

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Apr 25, 2014 - 11:41 am

are you just talking about the about 2px of white space between forums (could be different based on your theme)??  see image...  Thats the only white space I see in your image... 

gap.pngImage Enlarger

That is just the theme design - it would look strange with no space, I think, but you can certainly update the theme to do so...  you will see it a small blue spacing element on our forum...

If so, its these two css:

#spMainContainer .spGroupForumSection.spEven, #spMainContainer .spForumTopicSection.spEven, #spMainContainer .spTopicListSection.spEven, #spMainContainer .spMemberListSection.spEven

#spMainContainer .spGroupForumSection.spOdd, #spMainContainer .spForumTopicSection.spOdd, #spMainContainer .spTopicListSection.spOdd, #spMainContainer .spMemberListSection.spOdd

which have 2px margin around each forum in the group...

Avatar
Brian Siu
Member
Free Members
sp_UserOfflineSmall Offline
Apr 25, 2014 - 4:36 pm

Yes, the 2px of white space. For others I see a blue background by default. I want to have the blue background as well.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Apr 25, 2014 - 6:51 pm

again, its your sp theme... you can customize it however you want...

you showed group view, so change

#spMainContainer .spGroupViewSection, #spMainContainer .spForumViewSection, #spMainContainer .spTopicViewSection, #spMainContainer .spTopicListSection, #spMainContainer .spMemberGroupsSection

and adjust the background color to what you want...

or if there are lots of colors you want different, you might look at the available overlays to use with the theme you are using...

as always, we strongly recommend you edit your own theme and not one of ours to keep from losing changes on updates...

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: 17361
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625