Ask your WordPress questions! Pay money and get answers fast! Comodo Trusted Site Seal
Official PayPal Seal

Having trouble importing custom font to website using font face WordPress


Hi there,

I am having trouble installing and using a custom font on my website.
I have Genesis, Dynamik, and Beaver builder on my website
I converted the font using Fontsquirrel generator.
I uploaded the font files to a fonts folder using file manager in my cPanel.
Then, I inserted this code into my style.css sheet under Appearance-editor:

@font-face {
font-family: 'lms_beyond_infinityregular';
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;

However, when I try to add the family using my CSS editor to the header of my website, I am unsuccessful (nothing happens)

Also of note, I modified my header using this guide:

Any help would be greatly appreciated,

Answers (1)


Arnav Joy answers:

I think you have written incorrect path in your css file

if you have created new folder and named it as fonts ( inside dynamik-gen ) then correct path will be

reed33 comments:

Ah yes I fixed this, however it still isn't displaying properly.