Tagged: ,

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #1031267

    Hi,

    i have to use the Coporate E fonts for the site, but don’t know how to embed it. I found the otf font file here:
    http://fontsgeek.com/fonts/Corporate-E-Regular

    Is there any how to for embedding it oder simlar alternatives to ?
    Thanks, marcus

    #1031783

    Hey Marcus,

    You need to upload the font files to your website and add it via css rules
    https://www.w3schools.com/cssref/css3_pr_font-face_rule.asp
    https://stackoverflow.com/a/17159783

    If you need further assistance please let us know.
    Best regards,
    Victoria

    #1034456

    Thanks, Victoria.
    I embedded the font in custom.css , in enfold-child , but this didn’t have any effect.
    By editing custom.css in enfold Theme, it worked. see link.

    But is this a persistent , appropriate way or do I have the risk to loose this modifications any time?
    Thanks, marcus

    #1035328

    Do i loose style due to updates, when uing custom.css ?

    #1035597

    anybody here for help?

    #1035678

    Hi,

    Sorry for the delay, are you referring to custom CSS? Please add it to your child theme styles.

    otf format is generally heavy compared to the supported fonts and takes longer to load. Why would you not consider converting them to a supported font format and use it int he theme options?

    Please check to optimizing fonts on the below link

    Best regards,
    Vinay

    #1040692

    Hey Vinay,

    I have installed the given Child Theme, activated it. The Link above “Add custom CSS” shows in section “Enqueue custom CSS” how to come along to add own css for child themes.

    I did it, like described, but with no effect. (add code to child’s function php , add css in
    enfold-child/css/my_custom.css

    Only when entering css code direct in in enfold/css/custom.css , it works as desired.

    What do I wrong, or is it a bug in description ? Thanks a lot, marcus

    #1040699

    Second topic: When trying to use custom fonts like described here

    It says upload failure each time: “Couldn’t add the font because the server didn’t respond.Please reload the page, then try again ” :-(

    Any ideas for help ? thanks a lot, marucs

    #1041233

    Hi,

    Which font are you trying to upload? Please note that you can only use Google Fonts. For other font sources, use css import.

    // https://css-tricks.com/snippets/css/using-font-face/

    Best regards,
    Ismael

    #1041620

    Hey Ismael ,
    I ve got a font from customer which was give as otf and ttf.
    I converted them as given in

    with https://www.fontsquirrel.com/tools/webfont-generator
    into woff /woff2 files.

    I dont know why the instruction assumes to use ttf when uploading into enfold. I used the woff.

    Am I wrong, is istruction wrong , whats wrong ?
    Thanks, marcus

    #1041971

    Hi,

    Please use the font face rule as suggest above. You can’t upload non-gooogle-font files to the theme’s font manager.

    Best regards,
    Ismael

Viewing 11 posts - 1 through 11 (of 11 total)

You must be logged in to reply to this topic.