Kirill Zhokhov
asked 10 years ago

How to replace the font used to display the сyrillic title? 
I put in the CSS:
@ font-face {
     font-family: ‘appleberryregular’;
     src: url (/ wp-content/themes/dw-timeline/assets/fonts/appleberry_with_cyrillic-webfont.eot ‘);
     src: url (/ wp-content/themes/dw-timeline/assets/fonts/appleberry_with_cyrillic-webfont.eot? # iefix ‘) format (‘ embedded-opentype ‘),
          url (/ wp-content/themes/dw-timeline/assets/fonts/appleberry_with_cyrillic-webfont.woff ‘) format (‘ woff ‘),
          url (/ wp-content/themes/dw-timeline/assets/fonts/appleberry_with_cyrillic-webfont.ttf ‘) format (‘ truetype ‘),
          url(/wp-content/themes/dw-timeline/assets/fonts/appleberry_with_cyrillic-webfont.svg#appleberryregular’) format (‘svg’);
     font-weight: normal;
     font-style: normal;
}
And put in .banner .page-title: font-family:’appleberryregular’.
But it does not work

2 Answers
DominicStaff
answered 10 years ago

You can replace the following code:

.banner .page-title {
     font-family: appleberryregular;
}

With new code:

.banner .page-title {
     font-family: appleberryregular !important;
}

Regards,

Kirill Zhokhov
replied 10 years ago

thx for help!

Wilfred
answered 10 years ago

Hi Kirill,
To resolve this issue you can try this solution:
– Add the following code to style.css file in your theme

@font-face {
font-family: 'appleberryregular';
src: url('assets/fonts/appleberry_with_cyrillic-webfont.eot');
src: url('assets/fonts/appleberry_with_cyrillic-webfont.eot?#iefix') format('embedded-opentype'),
url('assets/fonts/appleberry_with_cyrillic-webfont.woff') format('woff'),
url('assets/fonts/appleberry_with_cyrillic-webfont.ttf') format('truetype'),
url('assets/fonts/appleberry_with_cyrillic-webfont.svg#appleberryregular') format('svg');
font-weight: normal;
font-style: normal;
}
.banner .page-title {
font-family: appleberryregular;
}

If the solution above does not work, can you kindly provide me your site URL and admin account (via private answer) for further checking?
Hope this helps!  

Kirill Zhokhov
replied 10 years ago
Powered by DW Question & Answer Pro