Notice: These forums are now retired and closed. For active support, please Submit a Ticket or visit our official WordPress.org community pages.
Kadence Theme | Kadence Blocks | Starter Templates | WooCommerce Email Designer | Ascend | Virtue | Pinnacle

How to use custom font for the whole site

Home / Forums / Virtue Theme / How to use custom font for the whole site

This topic is: Not Resolved
[Not Resolved]
Posted in: Virtue Theme
August 20, 2016 at 4:13 am

Dear sir and madam,

I’ve read the posts about using a custom font:


But I don’t see how this will work for me. I need a way to use a custom font for the whole website. I uploaded the custom font to the site and put it under /public_html/test/wp-content/themes/virtue_premium/assets/css/fonts

then I added this code to the style.css (got it edited from the dashboard/appearance):

@font-face {
font-family: 'Moderat';
src: url('
src: url(' format('embedded-opentype'),
url(' format('woff2'),
url(' format('woff'),
url(' format('truetype'),
url(' format('svg');
font-weight: normal;
font-style: normal;

}

@font-face {
font-family: 'Moderat';
src: url('
src: url(' format('embedded-opentype'),
url(' format('woff2'),
url(' format('woff'),
url(' format('truetype'),
url(' format('svg');
font-weight: bold;
font-style: normal;

}

Unfortunatly it doenst work yet. Can you please help me?

Thank you.

Gr,

Amel

  • The forum ‘Virtue Theme’ is closed to new topics and replies.