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
Unified Theme - reducing some blank spaces
Avatar
laurent enselme
Member
sp_UserOfflineSmall Offline
Aug 7, 2015 - 5:47 am

Hello, could you please tell me how to reduce blank spaces between groups and forums titles in the Unified Theme, i really love this theme and just want it a bit more condensed.Sans-titre-1.jpgImage Enlarger

I have attached a screen shot, in red is what i want to reduce, i guess it's in the theme's overlay but not sure where to find this

 

Thanks in advance 🙂

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Aug 7, 2015 - 7:01 am

Actually, in this instance you will find what you need to change in the actual unified.php (CSS) file. Maybe one day we will find a decent way to manage margins and padding in an overlay but not yet I am afraid.

What you need to look for are:

#spMainContainer .spGroupViewSection .spGroupViewHeader

This controls the space beneath and above eeach Group header block.

#spMainContainer .spGroupForumSection

And this controls the space between each individual forum block.

In both instances you need to adjust the padding and margins. The latter, I see, is set to 10px top and bottom for both so you may want to reduce all of these.

If you have the CSS cache turned on (Admin > Options > Global Setting) then you should probably turn it off while you make your adjustments and back on when you are happy with the end-result. Depending on browser settings you may need to cleat cached files regularly while testing as well.

As always we recommend the use of a child theme to ensure changes are not lost when upgrading. There are now Child Theme Frameworks available to download for all of our themes to make this simple and full and extensive details can be found on our Codex - Creating a Child Theme page: https://simple-press.com/docum.....ild-theme/

andy-signature.png
YELLOW
SWORDFISH
Avatar
laurent enselme
Member
sp_UserOfflineSmall Offline
Aug 7, 2015 - 7:24 am

Worked like a charm, thanks a lot laugh

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Aug 7, 2015 - 9:00 am

You're welcome.
You might note that those specific entries also can lead to other views being given the same paddings and margins so you may want to check those as well.

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: 620
Members: 17365
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10128
Posts: 79626