• I am using the following code:

    @ font-face
    {
    	font-family: heading;
    	src:url(public_html/website.com/wp-content/themes/theme-child/fonts/fontname.otf);
    
    }

    But my font is still not loading after I enter the font-fmaily as heading. Can anybody help out?

    I am preferring to use css in child theme instead of any plugin so if someone can help me resolve this problem of mine this way, that would be great.

  • The topic ‘@ font-face rule not working’ is closed to new replies.