Title: google fonts
Last modified: January 28, 2019

---

# google fonts

 *  [nichere](https://wordpress.org/support/users/nichere/)
 * (@nichere)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/google-fonts-46/)
 * I am trying to change the font style of my H1 heading. I am not sure where to
   insert the google font code.
 * is this correct ?
 * <h1 id=tpw style=”text-align: center;><link href=”[https://fonts.googleapis.com/css?family=Wallpoet&#8221](https://fonts.googleapis.com/css?family=Wallpoet&#8221);
   rel=”stylesheet”>**“Tachileik Photo Walk”**</h1>
    -  This topic was modified 7 years, 4 months ago by [nichere](https://wordpress.org/support/users/nichere/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fgoogle-fonts-46%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 8 replies - 1 through 8 (of 8 total)

 *  [Amit Singh](https://wordpress.org/support/users/apprimit/)
 * (@apprimit)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/google-fonts-46/#post-11140550)
 * Hello,
 * Go to Customize > Typography > Heading 1 (H1) and select ‘Wallpoet’ from the 
   Font Family dropdown.
 *  Thread Starter [nichere](https://wordpress.org/support/users/nichere/)
 * (@nichere)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/google-fonts-46/#post-11142410)
 * Yes but that will change all <H1> headings in my website no ?
 * I only want to change one heading on one page. many thanks
 *  [Amit Singh](https://wordpress.org/support/users/apprimit/)
 * (@apprimit)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/google-fonts-46/#post-11142480)
 * Okay, just add the below code to the Customize > Custom CSS section. You have
   already added code to style h1 tag, right? If you need, you can use the below
   code.
 *     ```
       h1#tpw {
           font-family: wallpoet;
       }
       ```
   
 *  Thread Starter [nichere](https://wordpress.org/support/users/nichere/)
 * (@nichere)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/google-fonts-46/#post-11142658)
 * i have not add the code yet. I dont know the correct placement for the google
   fonts code.
 * <div id=”scrollback”>
    <h1 id=”tpw” style=”text-align: center;”>**“Tachileik 
   Photo Walk”**</h1> <h5 style=”text-align: center;”>**Jan 2019**</h5> <h5 style
   =”text-align: center;”>_⋅Click to Scroll to Section⋅_</h5>
 *  [Amit Singh](https://wordpress.org/support/users/apprimit/)
 * (@apprimit)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/google-fonts-46/#post-11144118)
 * The code I gave, you need to add it in the Customize > Custom CSS section.
 * Your code is HTML code. You need to add this code to the child theme where you
   have added code to design that section.
 *  Thread Starter [nichere](https://wordpress.org/support/users/nichere/)
 * (@nichere)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/google-fonts-46/#post-11144753)
 * I added the code to functions.php
    the H1 works but not the below. When i add
   the code into page editor…it gets automatically deleted for some reason. I just
   want to be able to have different font styles for headings and titles because
   it looks cool.
 * CAT YAWN
 * BABY PORTRAIT
 * STREET PORTRAIT
 * function custom_add_google_fonts() {
    wp_enqueue_style( ‘custom-google-fonts’,‘
   [https://fonts.googleapis.com/css?family=Wallpoet&#8217](https://fonts.googleapis.com/css?family=Wallpoet&#8217);,‘
   [https://fonts.googleapis.com/css?family=Vast+Shadow&#8217](https://fonts.googleapis.com/css?family=Vast+Shadow&#8217);,
   false ); } add_action( ‘wp_enqueue_scripts’, ‘custom_add_google_fonts’ );
 *  Thread Starter [nichere](https://wordpress.org/support/users/nichere/)
 * (@nichere)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/google-fonts-46/#post-11144782)
 * I worked it out i think
 * I added multiple fonts at once
 * [https://fonts.googleapis.com/css?family=Monofett](https://fonts.googleapis.com/css?family=Monofett)
   |Vast+Shadow|ZCOOL+KuaiLe
 * 🙂 🙂
 *  [Amit Singh](https://wordpress.org/support/users/apprimit/)
 * (@apprimit)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/google-fonts-46/#post-11145411)
 * It seems the issue is fixed. If not, please let me know?

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘google fonts’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/oceanwp/4.1.6/screenshot.png)
 * OceanWP
 * [Support Threads](https://wordpress.org/support/theme/oceanwp/)
 * [Active Topics](https://wordpress.org/support/theme/oceanwp/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/oceanwp/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/oceanwp/reviews/)

## Tags

 * [Change Heading](https://wordpress.org/support/topic-tag/change-heading/)
 * [google fonts](https://wordpress.org/support/topic-tag/google-fonts/)

 * 8 replies
 * 2 participants
 * Last reply from: [Amit Singh](https://wordpress.org/support/users/apprimit/)
 * Last activity: [7 years, 4 months ago](https://wordpress.org/support/topic/google-fonts-46/#post-11145411)
 * Status: not resolved