Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Montezuma Theme (http://forum.bytesforall.com/forumdisplay.php?f=53)
-   -   Changed body font to Georgia...or so I thought (http://forum.bytesforall.com/showthread.php?t=22519)

brayer May 24, 2014 07:31 AM

Changed body font to Georgia...or so I thought
 
This seems like a real simple problem, but its solution is not self-evident.

So I wanted to change the body font to Georgia. I went to MTO > CSS Files > content.css and changed the line to this:

font-family: "Georgia", "Times New Roman", serif;

It's still showing up as the default (Lucida Grande, I think). What am I missing? I've tried clearing cookies and cached files already; I've tried using Safari instead of Chrome. All: no dice.

Advice?

juggledad May 24, 2014 08:44 AM

Make sure you blank out the default google font (add google fonts)

CrouchingBruin May 24, 2014 10:14 PM

Can you please post a link to your site? It would be easier to see what's wrong.

brayer May 25, 2014 05:14 AM

Well, I haven't actually installed any Google Fonts, and I see Georgia is not among them anyway. But even when I took Georgia out of "font-family", it did not default to "Times New Roman" or even "serif." CB, I've PM'ed you.

CrouchingBruin May 25, 2014 10:33 AM

Please note that there are multiple places in Montezuma's CSS files where the font-family property is used:

body in content.css
The heading tags h1, h2, h3, h4, h5, h6 in content.css
.hentry .comment-bubble in posts.css
#menu1-smooth a in menus_menu1.css
#sitetitle in various.css
#tagline in various.css

In addition, certain plugins may have their own CSS, but I would guess that it would be rare for them to set the font-family property.

So if you wanted to make sure the entire site used the same font-family, you could either:
1) Go through all of the virtual CSS files and change the font-family property for each selector to the style you want.
2) Go through all of the virtual CSS files and delete the font-family property for each selector except the modified body element.
3) Create a rule at the end of various.css and override all of the previous font-family properties in one shot:
Code:

body,
h1, h2, h3, h4, h5, h6,
.hentry .comment-bubble,
#menu1-smooth a,
#sitetitle, #tagline {
  font-family: "Georgia", "Times New Roman", serif;
}



All times are GMT -6. The time now is 03:53 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.