InMotion Hosting Support Center

Default font WordPressTemplates will have a default font applied to them. When you want to change the site font globally through out the site, you will need to edit the CSS "style.css" file for your WordPress. This article will explain how to change the font globally for your WordPress site using the "Twenty Twelve" theme.

Note! You can change the font through out your WordPress site by following these steps for any theme. This will work for all themes not just the "Twenty Twelve" theme.

Steps to change your Font Globally

  1. Log into the WordPress Dashboard.
  2. Click the appearance editor WordPressGo to Appearance > Editor.
  3. Styles selected WordPressMake sure you are on the main "style.css" stylesheet. The "Twenty Twelve" theme uses the style.css style sheet. See image to the right.
  4. Paste code into stylesheet WordPressPaste the following code at the top of the "style.css" sheet. In this case the font we are changing to is the "Courier New, Courier, monospace"font type.
    * {font-family:"Courier New", Courier, monospace}

    The ( * ) in the CSS code will apply the Font style to all text in the website.

  5. click update WordPressClick Update.
  6. New Font on site WordPressVisit your website you should see the font applied to your whole website. If you do not see the font change, you may need to Clear your browser cache.

Continued Education in Course 105: Changing the Wordpress Appearance
You are viewing Section 9: Changing your font globally in WordPress
Section 8: Changing the Branded footer text in WordPress

Support Center Login

Social Media Login

Social Login Joomla

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question
n/a Points
2014-05-06 3:45 am

I don't have that editor tab/subheading. Can i still change my font size.

11,186 Points
2014-05-06 8:04 am
All themes in WordPress have the Editor tab. Be sure that you are correctly within the Appearance menu.
n/a Points
2014-05-06 8:14 am

Nope, mine doesn't. I would include a print screen if this thing allowed me to


11,186 Points
2014-05-06 8:33 am
This would then be the first theme that I have seen disallowing it in the several years that I have been using WordPress. In that case, you would need to edit the theme files directly. You may do so by opening up your file manager of choice and navigating to the /wp-content/themes/ directory. Within there, you will see all of your theme files.
n/a Points
2014-05-06 9:18 am

Thanks I will try that

n/a Points
2014-07-15 3:25 pm


thanks for sharing. I need to change to this font

But i'm not sure what code is required. it would be kind of you to check it out for me.

35,172 Points
2014-07-15 3:59 pm
Hello Javad,

First you will need download the font and then give it a legible name. The file name when you initially download is too long. Next you will need to make the font available from the web server. For example, you could create a folder on your website called fonts. Then you can upload the font file into it. The final path would something like this:


Then after you have uploaded the font, you would need reference it in your CSS code (please see using custom fonts in CSS). Once you have it properly declared in the CSS, then you can specify for a section of your site.

This is the code I was reviewing in Stack Overflow on using custom fonts:

@font-face {
font-family: 'YourFontName'; /*a name to be used later*/
src: url('http://'); /*URL to font*/

You can then utilize the code listed in the article above. For example:

* {font-family:"Font name", Font, monospace }

You might be interested in a plugin to make this easier as well: Use Any Font.
Or you can find much more in depth information on using fonts in the WordPress Codex- Playing with Fonts.

Hope that helps to provide all the information you need to use your font!

Arnel C.
n/a Points
2014-07-16 2:43 am

Thank you , Arn. It was very helpful.

n/a Points
2014-07-16 7:55 am
yes Its Good info is available on the site.
n/a Points
2014-10-15 3:55 pm

Thanks a lot for tutorial

How to put google fonts at twenty twelve ?


35,172 Points
2014-10-15 4:49 pm
Hello Wayan,

Thanks for the question. However, can you please provide a clearer explanation of what you need? We're not sure what you are asking. Please let us know and we will try to help!

Arnel C.
n/a Points
2014-10-19 3:36 pm

Dear Arn,

Sorry for confusing, what i mean is how change the fonts at twenty twelve wordpress theme using google web fonts, I see the google web fonts look great and i want to use it at twenty twelve themes.



35,172 Points
2014-10-20 2:04 pm
Hello Wayan,

Thanks for the question. The easiest way to incorporate the Google Web fonts is to use a plugin. Check out our article WordPress Font plugins - WP Google Fonts. The article will tell you how to load it and how you can use the fonts.

Hope that helps! Please let us know if you require any further assistance.

Kindest regards,
Arnel C.
n/a Points
2015-01-29 3:35 pm
It was perfect. I was having a problem knowing where to look to make the changes in php and the css file. Now I think I can make any change I want to. Thank you.
n/a Points
2015-02-20 6:25 am
Improve? There's nothing to improve in your article. It's the simplest ever, really idiot proof, and above all it solved the issue with ONE simple line of code.
n/a Points
2016-10-02 5:56 am

He, I want to change my font size sitewide but I have entered that code (the first one given) on my style sheet and pressed save but it has not worked AND I have cleared my cache, I am using activello theme :( please help. the website is and yes it is mine but do you see what I mean about the font size :)

5,963 Points
2016-10-03 11:01 am
The above article is general, the code may differ in your theme. It's possible the element you updated is overruled by code somewhere else in the stylesheet. It is always recommended, but you can try adding an "important" tag to your code. For example,
body {
font-family: "Courier" !important;

You may also want to check to make sure you have the font itself available either in your theme files or on the web.
n/a Points
2016-10-19 1:07 am

How do I change the font size for ONLY for pages and posts? I have a custom css plugin installed. Can you let me know the commands/code to enter?

11,809 Points
2016-10-19 6:59 am
So you want to set the font size to be the same on all pages and posts? Typically, the font size is set on the individual page or post, not globally on those post types.

Post a Comment

Email Address:
Phone Number:

Please note: Your name and comment will be displayed, but we will not show your email address.

19 Questions & Comments

Post a comment

Back to first comment | top

Need more Help?


Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail:
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!