Tagged: , , ,

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #681639

    I try to implement a non-google font for headings h1 and h2. But it just shows the standard-font I set for the ‘font for body text’ in enfold options.

    I. First I uploaded the new font to root/fonts/.

    II. Second this is what I typed into ‘quick css’:

    @font-face {
    font-family: ‘CubanoRegular’;
    src: url(‘fonts/cubano-regular-webfont.eot’);
    src: url(‘fonts/cubano-regular-webfont.eot?#iefix’) format(’embedded-opentype’),
    url(‘fonts/cubano-regular-webfont.woff’) format(‘woff’),
    url(‘fonts/cubano-regular-webfont.ttf’) format(‘truetype’),
    url(‘fonts/cubano-regular-webfont.svg#CubanoRegular’) format(‘svg’);
    font-weight: normal;
    font-style: normal;

    }

    h1, h2 {
    font-family: ‘CubanoRegular’, sans-serif’!important;
    }

    —–

    Any idea?

    Best regards
    Harry

    • This topic was modified 8 years, 2 months ago by harryriegel.
    #681651

    I solved the problem – it was a simple error in the syntax:

    I simply overlooked the missing forward slash / in the beginning of the src, right in front of fonts/

    Now it´s working :-)

    #681678

    Hi!

    Please feel free to create a new ticket if you need anything else from us.
    Thanks a lot!

    Best regards,
    Basilis

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘New font for h1 and h2’ is closed to new replies.