Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Changing Font Style in 5.0 (So it doesn't inherit from WP theme)
Avatar
tabdalla
Member
Free Members
sp_UserOfflineSmall Offline
Jan 5, 2012 - 12:23 pm

While the font style in my WP theme looks great in the main portion of my site, it's not looking so good in the forums (some characteristics like shading the font in the WP theme is making the text look blurry in the forums).  I would like to edit the CSS so it won't inherit the font style from my WP theme.  I would then like to declare the font style (with a couple of backups) similar to what is used in this support forum.  Problem is my programming knowledge of CSS is lacking and I'm not sure what edits I need to make and where to make them.  If anybody could walk me through what modifications I need to make and to which CSS files, I would really appreciate it!laugh

Avatar
tabdalla
Member
Free Members
sp_UserOfflineSmall Offline
Jan 5, 2012 - 7:39 pm

I think I almost have it.  I found the following code block within the fools-gold.php overlay which I'm using:

 

# ------------------------------------------------------------------
# font families and Weights
# ------------------------------------------------------------------
$mainFontFamily            = 'inherit';
$altFontFamily            = 'inherit';
$headingFontFamily        = 'inherit';
$buttonFontFamily        = 'inherit';
$controlFontFamily        = 'inherit';
$toolTipFontFamily        = 'inherit';
$dialogFontFamily        = 'inherit';
$mainFontWeight            = 'normal';
$headingFontWeight        = 'bold';

 

If I replaced the 'inherit' code with Calibri, Arial, Helvetica, sans-serif; would that call the font-family that is similar to what is used in this forum?  Don't mean to copy, but I really like this font and don't want to reinvent the wheel... 

 

Thanks in advance for any help!

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jan 5, 2012 - 9:13 pm

yes, if you change inherit to a specific font family,that will be the base font for the forum... our wp theme uses calibri...

Avatar
tabdalla
Member
Free Members
sp_UserOfflineSmall Offline
Jan 6, 2012 - 12:22 pm

I made the modifications this morning and it worked great.  Thanks for the help!

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jan 6, 2012 - 8:24 pm

good news. thanks for the update.

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