Harshit Sharma
asked 9 years ago

I want to change the font of the title when a user opens an article and also want to change the heading fonts in the article.

2 Answers
DominicStaff
answered 9 years ago

If you want to change font in the DW Focus. Please do as the following:
Step 1: Find the font that you want to use at here: http://www.google.com/fonts/
Step 2: click the Quick-use
see the screenshot:
Step 3: Please go to “@import” and copy the following link:
See the screenshot:
Step4: Paste the link copied above into template.css file.
See the screenshot: 
Step5:  change  the font-family in the file template.css (\wp-content\themes\dw-focus\assets\css) with the font-family that you want 
or add the following code: 

 .entry-title {
font-family: ..... !important;
}
.single-post .entry-title {
font-family: .....!important;
}

Hope this helps !

Harshit Sharma
replied 9 years ago

I added the give code in the custom Wp-Head, but it not works.

Dominic Staff
replied 9 years ago

Hi Harshit !
To add the code to the "Custom wp_head() code:" section, please put the following code in the <style>…</style>
Eg:
<style>
.entry-title {
font-family: ….. !important;
}
.single-post .entry-title {
font-family: …..!important;
}
</style>
If you still face there issue, you can tell me detail the font that you want to change.
Hope this helps !

Harshit Sharma
replied 9 years ago

Again not works, I want Rokkitt font: https://www.google.com/fonts/specimen/Rokkitt

Dominic Staff
replied 9 years ago

Hi,
Please send me username & password of your site (via private answer), we will help you resolve this issue.
Regards,

DominicStaff
answered 9 years ago

Hi Harshit ! 
Right now, you can check your site, I have helped you resolve this issue.
Regards,

Harshit Sharma
replied 9 years ago

Hey, but the font not appears to be changed.

Harshit Sharma
replied 9 years ago

The title of every article is in the default font that comes with the theme.

Dominic Staff
replied 9 years ago

Hi,
Please check your site, I think you have resolved this issue. If you still face there issue, please let me know.

Powered by DW Question & Answer Pro