Ask your WordPress questions! Pay money and get answers fast! (more info)

Changing Fonts in Karma Theme custum css using font-face WordPress

I have tried to add this in the custom-css:

@font-face {
font-family: hillelclm-medium;
src: url(http://dl.dropboxusercontent.com/s/uxruzdf7c838tnb/hillelclm-medium-webfont.ttf);
font-weight: normal;
}

#menu-main-nav,
#menu-main-nav li a span strong {
font-family: 'hillelclm-medium', 'hillelclm-medium';
font-weight: normal !important;
text-transform: none !important;
}

Not Working!

Answers (4)

2015-11-30

Navjot Singh answers:

Try replacing the link to the dropbox with

http://dl.dropboxusercontent.com/s/uxruzdf7c838tnb/hillelclm-medium-webfont.ttf?dl=0

2015-11-30

Chandra Babu M answers:

Hi,

You can convert your font font face from "https://everythingfonts.com/font-face" here. then you can follow the below steps. You will get your font.


@font-face {
font-family: 'hillelclm-medium';
src: url('fonts/hillelclm-medium.eot');
src: url('fonts/hillelclm-medium.eot') format('embedded-opentype'),
url('fonts/hillelclm-medium.woff2') format('woff2'),
url('fonts/hillelclm-medium.woff') format('woff'),
url('fonts/hillelclm-medium.ttf') format('truetype'),
url('fonts/hillelclm-medium.svg#hillelclm-medium') format('svg');
}
#menu-main-nav,
#menu-main-nav li a span strong {
font-family: 'hillelclm-medium';
}



If you'll get any problem let me know. I will explain you.

Thanks,

2015-11-30

konstantinos monios answers:

i had the same problem

see the plugin "Use Any Font"

i bought it with 10$ and did my job.


shayguy comments:

Thank you, you just saved me with this tip!

2015-12-01

Arnav Joy answers:

so all done now ?