Profile photo of Yves ChenYves Chen
asked 2 years ago

Hi, I was wondering if there is any way I can change the fonts by using a child theme?
And if it’s possible that I can upload my custom fonts and apply them to my website?

Thanks in advance for any help you are able to provide!

1 Answers
Dominic
answered 2 years ago

Hi,
For example, let’s say you want to change the font used for post/page titles. The post/page titles have class names of entry-title and page-title. Simply add the following styles to the style.css file in your child theme.

.entry-title,
.page-title,
.entry-date {
    font-family: Helvetica, Arial, Verdana, sans-serif;
}

Hope this helps !

Powered by DW Question & Answer Pro

Access years of experience in WordPress; Collaborate with professionals trusted by tens of thousands of people across the world.

Sign Up Today