# How to change all default font, using google font early access?

**URL:** <https://colorlibsupport.com/t/how-to-change-all-default-font-using-google-font-early-access/11709>\
**Category:** Travelify\
**Created:** [August 13, 2016, 7:31am UTC](https://colorlibsupport.com/t/how-to-change-all-default-font-using-google-font-early-access/11709 "2016-08-13T07:31:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![yuchun423](https://colorlibsupport.com/letter_avatar_proxy/v4/letter/y/77aa72/32.png) [@yuchun423](https://colorlibsupport.com/u/yuchun423)\
**Post date:** [August 13, 2016, 7:31am UTC](https://colorlibsupport.com/t/how-to-change-all-default-font-using-google-font-early-access/11709/1 "2016-08-13T07:31:56Z")

</div>

Hello

I have foreign languages on my website. Therefore I want to change all default font (website header, blog title, menu, blog & page’s title and content, etc.)  
I want to use Google font earlyaccess [https://www.google.com/fonts/earlyaccess](https://www.google.com/fonts/earlyaccess)

I’ve added below code to custom css but nothing changed. Can anyone guide me through this? Thanks a lot!

```auto
@import url(http://fonts.googleapis.com/earlyaccess/cwtexhei.css);
#site-title a {
	font-family: 'cwTeXKai', serif;
}

body,input,textarea,article {
	font-family: 'cwTeXKai', serif;
}

.post-title {
	font-family: 'cwTeXKai', serif;
}

.blog-description {
	font-family: 'cwTeXKai', serif;
}

.blog-title {
	font-family: 'cwTeXKai', serif;
}

.blog-title a {
	font-family: 'cwTeXKai', serif;
}

h1, h2, h3, h4, h5, h6, p, blockquote, address, big, cite, code, em, font, img, small. stritd, body {
	font-family: 'cwTeXKai', serif;
}

```

---

<div class="post-metadata">

**Author:** ![movin](https://colorlibsupport.com/user_avatar/colorlibsupport.com/movin/32/10922_2.png) [@movin](https://colorlibsupport.com/u/movin)\
**Post date:** [August 16, 2016, 9:07am UTC](https://colorlibsupport.com/t/how-to-change-all-default-font-using-google-font-early-access/11709/2 "2016-08-16T09:07:25Z")

</div>

Hi @yuchun423,

I hope you are well today and thank you for your question.

You can use custom Google font on your site as described on the following pages.

> **[How to Add Google Web Fonts in WordPress Themes the "Right" Way](https://www.wpbeginner.com/wp-themes/how-add-google-web-fonts-wordpress-themes/)**
>
> A step-by-step guide on how to add Google Web Fonts in WordPress themes the right way. Including tips for performance optimization of Google web fonts.

> **[Adding Custom Google Fonts to WordPress with Enqueue](https://wpmudev.com/blog/custom-google-fonts/)**
>
> In this Weekend WordPress Project, we’ll look at how to use an enqueue script to add Google fonts to your site in just a few simple steps. Read on

> **[Using Google Fonts in WordPress (5 Tips for Optimizing Performance)](https://www.elegantthemes.com/blog/wordpress/google-fonts-wordpress-optimize-performance)**
>
> In this article, we’ll look at 5 tips for optimizing performance when using Google Fonts in WordPress to improve your website’s performance.

Best Regards,  
Movin
