Tagged: ,

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #592039

    Hey

    I’m using a custom font. I created the web font on Font Squirrel (as advised in other posts), uploaded it.

    How can I add it to font list menu in the control panel?

    Please note that I’m using a child theme, if it makes any difference

    #592086

    Hi Mustafa!

    Please see – http://justcreative.com/2013/01/22/how-to-use-custom-fonts-with-font-face-on-wordpress/ and then add following code to Quick CSS in Enfold theme options under General Styling tab

    .av-main-nav li a { font-family: "your-custom-font"!important; }

    Cheers!
    Yigit

    #592188

    Hi @Yigit

    Thanks a lot

    Yes, I already followed that article.

    What I’m trying to achieve is adding these uploaded (non-google) fonts to the font menu

    Moreover, I (sort of) tried your suggestion, but didn’t work. Here’s what I did in details:

    1- I have a child theme, which contains just functions.php and style.css
    2- I added the font stylesheet to style.css as follows

    @font-face {
        font-family: 'JFFlatMedium';
        src: url('css/jf-flat-medium-webfont.eot');
        src: url('css/jf-flat-medium-webfont.eot?#iefix') format('embedded-opentype'),
             url('css/jf-flat-medium-webfont.woff2') format('woff2'),
             url('css/jf-flat-medium-webfont.woff') format('woff'),
             url('css/jf-flat-medium-webfont.ttf') format('truetype'),
             url('css/jf-flat-medium-webfont.svg#jf_flatmedium') format('svg');
        font-weight: normal;
        font-style: normal;
    
    }

    3- I created a folder (inside the child theme folder) called css, and added all the font files
    4- I added your recommended css to Quick CSS section

    The result is that the main text is displayed in the font selected Defines the Font for your body text in the Font tab in the control panel, and the menu items are displayed in browser’s default font

    #592203

    Hi!

    Do you mind posting FTP credentials here privately as well so we can look further into it.

    Regards,
    Yigit

    #592223

    .

    #592620

    Hi!

    Access to wp-content/themes/enfold folder would be enough

    Best regards,
    Yigit

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.