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

    Ahoy,

    So I’m adding a custom font to enfold using a child theme and need some help. Does this tread work https://kriesi.at/support/topic/custom-webfont-for-child-theme/ ?

    Do I add the font folder in the child theme? and what code do I put in the css?

    #682967

    Hey mcraig77,

    Yes following that thread might work out for you, what font are you trying to add? Where did you upload it to?

    Best regards,
    Rikard

    #683525

    Ahoy,

    I uploaded the fonts to a child theme here (private area). The font is called Tiempos Headline Black Italic. What is the next step on my end?

    #684005

    Hi,

    Please refer to this: http://www.w3schools.com/cssref/css3_pr_font-face_rule.asp. Replace the URL in the example with the full URL to your font.

    You can then use it like this for instance:

    <p style="font-family:'Your font', Arial, Verdana;">
    Your text
    </p>

    Regards,
    Rikard

    #684045

    Ahoy,

    Hmm…
    I would like all the headers to be this new font on my site.

    Is this what I add to add the font in the quick css?

    @font-face {
        font-family: myFirstFont;
        src: url(https://www.keensocial.com/wp-content/themes/enfold-child/fonts/WebFonts/TiemposHeadlineWeb-BlackItalic.woff);
    }

    and how do I make this the headers?

    #684448

    Hi,

    Please try the following in Quick CSS under Enfold–>General Styling:

    h1, h2, h3, h4, h5, h6 {
    font-family: 'myFirstFont', arial, verdana !important; 
    }

    Best regards,
    Rikard

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