Support Forum

Help with font's size

HE Hegemony
Hegemony
Member

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 

8 Answers

New Answer

IK Ike
Ike
Member

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. 
YS Yellow Swordfish
Yellow Swordfish
Member

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

HE Hegemony
Hegemony
Member

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

IK Ike
Ike
Member

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.

HE Hegemony
Hegemony
Member

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

MP Mr Papa
Mr Papa
Member

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…

HE Hegemony
Hegemony
Member

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