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
Help with font's size
Avatar
Hegemony
Member
Free Members
sp_UserOfflineSmall Offline
Feb 16, 2015 - 1:21 pm

Hello i'm using Reboot template Midnight overlay i wish to make all fonts bigger becouse for my website the appear too small as default.

I read many post on forum and i tried change value $baseFontSize = ''; in midnight.php file 104%

on my browser if was all crazy bigger and not allineated and i notice also if i change value 101- 150 for result always big at the same.

So i try set value in pixel 16px and it was fine but the font on footer now appear more big and didn't like me.

I tried then change all % value in midnight.php almost all font size change except in the footer. I checked all files but i cant find a solution for keep actually 16px base font size and make footer fonts  where there are the Statistic smaller.

Please help me if is possible  i'm not a programmer and i runned out of ideas.

Thanks in advance and sorry for my english 

Avatar
Ike
Sawtry, UK
Member
Free Members
sp_UserOfflineSmall Offline
Feb 16, 2015 - 3:19 pm

Hey Hegemony,

The $baseFontSize is only used by $resetFontSize in the reset file, which isn't used if the WP or forum theme defines a font-size.

You would be better off defining an overall font size by adding something like:

#spMainContainer {
    font-size: 1em;
}
To the start of the stylesheet. 

We do recommend making a custom theme or child theme to preserve your changes.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Feb 16, 2015 - 3:31 pm

But surely changing the base font size in the reset css is exactly the same as doing what you suggest! No? 

andy-signature.png
YELLOW
SWORDFISH
Avatar
Hegemony
Member
Free Members
sp_UserOfflineSmall Offline
Feb 16, 2015 - 3:34 pm

Ok thanks for answer i will try to do how suggest smile

Avatar
Ike
Sawtry, UK
Member
Free Members
sp_UserOfflineSmall Offline
Feb 16, 2015 - 3:40 pm

Yellow Swordfish said
But surely changing the base font size in the reset css is exactly the same as doing what you suggest! No? 

Sorry yes - you are right.

Avatar
Hegemony
Member
Free Members
sp_UserOfflineSmall Offline
Feb 16, 2015 - 4:32 pm

I tried put the code in main stylesheet and it resired all fonts also the footer. I would resize all fonts except the footer text where there are the statistic exist any possible way to do it?confused

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Feb 16, 2015 - 10:38 pm

that is a bit different than you said in post 1...  but can be done...

do as Ike (or Andy) suggested which will resize everything... than add

#spMainContainer .spStatsSection {
font-size: 16px;
}

or whatever size you want to control the stats independently...

Avatar
Hegemony
Member
Free Members
sp_UserOfflineSmall Offline
Feb 17, 2015 - 3:43 am

Ok it worked very good thanks guys best support everlaugh

I added in main shylesheet

example

#spMainContainer {
font-size: 16px;
}

#spMainContainer .spStatsSection {
font-size: 12px;
}

and now look the forum great. 

I have another small issue with avatar i'm trying to fix myself in case can't find any solution i will ask a bit help

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Feb 17, 2015 - 5:58 am

ok - we will be here!

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