How can I add My new Custom Font on the Theme.

  • Author
    Posts
  • #62967

    Hey there,
    I want to add Default Custom Font; Geomanist.
    I’ve CSS:

    @font-face{ 
    	font-family: 'MyWebFont';
    	src: url('WebFont.eot');
    	src: url('WebFont.eot?#iefix') format('embedded-opentype'),
    	     url('WebFont.woff') format('woff'),
    	     url('WebFont.ttf') format('truetype'),
    	     url('WebFont.svg#webfont') format('svg');
    }

    link to the stylesheet in HTML:
    <link rel="stylesheet" href="stylesheet.css" type="text/css" charset="utf-8" />

    p { font-family: 'WebFont', Arial, sans-serif; }

    Website: learningwithexperts.ml

    #63325

    Zed
    Cryout Creations Team

    Unless you’re using a child theme and you add it there, you’ll need to rely on a plugin to embed custom fonts on the site.


    If you like our creations, help us share by rating them on WordPress.org.
    Please read the available documentation and search the forums before posting.
Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘How can I add My new Custom Font on the Theme.’ is closed to new replies.