Support Forum
Modifying font in default theme
Ethan Miller
Rookie
Free Members
Offline
Hi, I'm trying to understand what is the best/most correct way to modify the font on my forum. I'm using the default theme. I found the following css block in the default.css:
#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; }
My suspicion is that the best way to change the font would be to find where the $mainFontFamily is set and modify it to my desire font. Is that right? Or should I rather set the font-family within this css style block?
Thx!
Yellow Swordfish
Glinton, England
SP Master
Offline
And you would find that definition in the overlay file you are using. I personally recommend changing it in the overlay file. Either way - as always we recommend that you create your own SP theme so that any customisation is not lost during a future update. (http://codex.simple-press.com/.....g-a-theme/)
YELLOW
SWORDFISH
|
Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
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