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
Font size
Avatar
Carlos
Spain
Member
Free Members
sp_UserOfflineSmall Offline
Aug 9, 2013 - 6:47 pm

Hi, I would like to have the font size of the SP forum on mine forum... I know where to edit on my templates but I´m going crazy... can anyone put the code the sizes of this forum here?

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Aug 9, 2013 - 8:07 pm

the base font size of our theme here is about 13.6px... its a bit different because we use em units as the base font size instead of px...  and then its inherited from the wp theme...  and then use 95% of that (1em)...

so in your theme, find the #spMainContainer and set the font size there...  will be the base...

Avatar
Carlos
Spain
Member
Free Members
sp_UserOfflineSmall Offline
Aug 13, 2013 - 6:01 pm

MrPapa, I  didn´t find the exact file or line where to put the font size... can you give me a little help?

thanks

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Aug 13, 2013 - 7:15 pm

in default.php around line 78

#spMainContainer {
    color: <?php echo($mainBackGroundColor); ?>;
    background: <?php echo($mainBackGround); ?>;
    border: <?php echo($mainBackGroundBorder); ?>;
    font-family: <?php echo($mainFontFamily); ?>;
    font-size: <?php echo($mainFontSize); ?>;
    line-height: <?php echo($mainLineHeight); ?>;
    <?php echo($smallRadius); ?>
    padding: 1px;
}

sent the font size to what you want... or you can edit the overlay you are dong and change $mainFontSize instead...

Avatar
Carlos
Spain
Member
Free Members
sp_UserOfflineSmall Offline
Aug 13, 2013 - 11:20 pm

thanks..!  

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Aug 14, 2013 - 1:35 am

you are welcome.

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