Samuel Straka
asked 7 years ago

I use DW Focus theme. I need to use Latin-ext fonts (Czech language) for whole texts in my web. I choiced Lato fonts from Google fonts and I tried to change it in style.css file in dw-focus-child-theme-01.
I used these instructions (what I found on your suport):
@import “//,300,400,500,700,800,900;subset=latin-ext”;
h1, h2, h3, h4, h5, h6, blockquote, .navbar .nav li a, .accordion .accordion-heading a, .news-slider .carousel-list .other-entry a, .nav-tabs a, .news-slider .carousel .carousel-inner .entry-category, .single .site-content > .hentry .post-categories li, .single .site-content > .hentry .entry-action .social-action .title-action, #dw_recentcomments .comment-title, #dw_recentcomments .comment-author {
font-family: ‘Lato’, sans-serif;
It not work good and I find some incorrect characters on different places of my web.
Maybe I would need to place to my child theme directory also files from dw-focus/assets/css like dw-focus.css and dw-focus.min.css … I don’t know. I don’t know what are files with .map appendix.
Could you advice me what can I do ?
Thank you in advance.

Samuel Straka
replied 7 years ago

Solved by changing main fonts-family. It work now without caching, I will tryit also with some caching plugin like WP Super cache or Fastest cache. Do you have some experiences with caching pages ?

3 Answers
answered 7 years ago

If you want to use  the Latin-ext fonts in the DW Focus theme, you can log into dashboard > Appearance > Theme Settings then change the font in the Typography tabs. 

Samuel Straka
answered 7 years ago

Dominic, thanks for your answer. Of course I used it but without positive result.
This problem with incorrect character (the characters what have diakritics are displayed by different fonts than other text) are solved in FOCUS 2 Beta 2, therefore I will wait for final version of this theme and I will try to help like tester.

Dominic Staff
replied 7 years ago

Thanks for your help. We will try to finish it as soon as possible.

Samuel Straka
answered 7 years ago

Dominic, unfortunatelly also in FOCUS 2 is used font what has not complete Latiin-ext characters (Heebo).
Bad characters (with diakritics but by different font) are display in some headers.
Therefore font is necessary to change in child theme. But I tried to change it without success.
I imported correct Google font and I correct it in css files in child theme. I changed also to use css file only and not min.css but bad font in the headers still exist.
I don!t know what I can do with files and with .less files from your theme.
Could you advice me what can I do when I need to apply different font-family then you use ?
Thanks Sam

Powered by DW Question & Answer Pro