1. Home
  2. Customization
  3. How to Change Font Style in AMP

How to Change Font Style in AMP

Yes, it is possible to Change Font Style in AMP. You can change the font style in AMP with the help of Custom CSS.

Follow this simple steps:

First, go to the WordPress Admin Area -> AMP option panel -> Design -> Global -> Custom CSS option

Scroll down a little to see this option

Here is an example:

First of all, inspect Element where you want to change the Font style.

Inspect Hello World
Inspect Hello World

In the above Screenshot, you can see Inspecting Hello World and also the Class name of Hello World i.e., h1 .amp-wp-title

You can also look check HTML to find the class name, please refer to the below screenshot

html to find class name

here you can see the Class name of Hello World. With the help of class you can start styling. You can change font style, you can change font color etc.

Before Adding Custom CSS, you can test your CSS. Paste your CSS in Styles section of your Browser. Please refer to this screenshot

Css test and run

in h1 .amp-wp-title you can do modifications according to your requirements

h1 .amp-wp-title {
font-family: Lato;
font-weight: bold;
font-size: 20px;
color: red;

  • font-family Changes the Font Style of your website
  • font-weight changes your text look strong or normal
  • font-size lets you change the size of your text font
  • The color property lets you change the color of your text
  • There are plenty of other CSS properties you can use according to your requirement.
  • When you are ready with the code, simply paste that code in Custom CSS Editor which can be found under the Design Section in AMP settings.

That’s it for this tutorial!

We hope it helped you. If you have any feedback or questions, then please share them in the comments section below.

Ask your Questions Directly!
If you can't find the solutions in this article, then just ask us in the comments and we will answer it for you!
Updated on May 25, 2019

Was this article helpful?

Related Articles

Need Support?
Can’t find the answer you’re looking for? Don’t worry we’re here to help!
Contact Support


    1. Hi Andres,

      Will you please elaborate more about your issue so that we will understand and help you.

Leave a Comment