Rosa Huang
asked 4 years ago

How could I change the page-title font in Timeline Pro?
I wrote css code in Custom CSS to changed h2.entry-title a font, but no matter how I tried I still could not change the h1.page-title and every post and page title…

h2.entry-title a{
font-family: “source-han-sans-traditional”,sans-serif;
font-style: normal;
font-weight: 700;
}

1 Answers
DominicStaff
answered 4 years ago

If you want to change the page title, you can add the following code to the style.css file:

.page .page-header {
 font-family: “source-han-sans-traditional”,sans-serif;
    font-style: normal;
    font-weight: 700;
 }

Hope this helps!

Rosa Huang
replied 4 years ago

Thank you for your help.
But I tried it, it still can’t work….
All of the “title” of the website that I couldn’t change them.
h1.page-title
h1.entry-title
.page-header

Rosa Huang
replied 4 years ago

I find the answer~~
add “!important” behind the font-family

.single-post .hentry .entry-title {
font-family: “source-han-sans-traditional”,sans-serif !important;
font-style: normal;
font-weight: 700;
}

Thank you 🙂

Dominic Staff
replied 4 years ago

Please send me username & password of your site and the screenshots about the position that you want to change, I will help you resolve it.

Rosa Huang
replied 4 years ago

It’s ok~
I had resolved it. Thank you 🙂

Powered by DW Question & Answer Pro