Adding Custom Fonts


  • Member
    smaginadmin
    May 20, 2016 at 3:38 am #28594

    Hi,

    My client has asked for a custom font to be used for the headings throughout the website. I have attempted to manually set the font in the header.php and then call that font to the Typography section of the CSS. However, I have not met with much success. Can you offer any solution if a client does not want to use any of the fonts available from Google.

    Note: They have purchased a licence for their preferred font and I have a local copy available.

    Code added to header.php
    @font-face { font-family: Shimes; src: url(‘fonts/ShimesOne.ttf’); }

    Code added to style.css
    /* #Typography
    ================================================== */
    h1, h2, h3, h4, h5, h6, .heading_font {
    color: #333;
    font-family: “Shimes”, “Montserrat”, Arial, Helvetica, sans-serif;

    Sorry, this forum is for verified users only. Please Login or Register to continue

Comments are closed.