Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #920931

    Hi,

    My client wants to use a custom font for the names of the people in the testimonials section

    I have uploaded the webfont kit generated by fontsquirell into a folder called “fonts” in enfold/css and added the following fontface code to quick css:

    @font-face {
    font-family: ‘glossandbloom’;
    url(‘fonts/gloss_and_bloom-webfont.woff’) format(‘woff’),
    font-weight: normal;
    font-style: normal;
    }

    To test if the fontfacea was loading i added this code:

    h1,h2,h3,h4,h5,h6 { font-family: glossandbloom !important; }

    However when i create a test h3 it isnt using the correct font, so i have 2 questions:

    1. What have i done in regards to adding the custom font
    2. What code do i add to quick css to change the testimonials names to use this custom font

    She also wants a custom font for the body text, so once we sort this font i should be able to upload the 2nd one without issue

    • This topic was modified 6 years, 8 months ago by tokenofhon.
    #921040

    Hey tokenofhon,

    Please check the private content for more info.

    Let us know if you have any questions :)

    Best regards,
    Vinay

    • This reply was modified 6 years, 8 months ago by Vinay.
    #921395

    Hi,

    I don’t have a child theme, do i need one for the custom font?

    #921544

    Hi,

    Yes, we do recommend installing a child theme to avoid losing any customization you have done when you update the theme. https://kriesi.at/documentation/enfold/using-a-child-theme/

    Best regards,
    Vinay

    • This reply was modified 6 years, 8 months ago by Vinay.
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.