badget

Biggest Sale! Special Offer!

Get 30% discount on all of our single themes with this coupon code: #30%SALE

Hurry up! *Limited time offer*

How to add own font

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #27836
    frantisek.funda
    Participant

    Hi, thanks for the nice theme.

    I need add a new font to the theme. How can I add a new one?
    The reason is that Google fonts doesn’t include an special characters from our language (Czech).

    Thank you
    Frantisek

    #27888

    Hi frantisek.funda,

    First of all create a child theme. Create style.css file and add the below code in your style.css file.

    /*
    Theme Name: Ambition Pro Child Theme
    Author: Self-Help WordPress User
    Template: ambition
    */
    
    @import url("../ambition-pro/style.css");
    
    body,
    input,
    textarea,
    .main-navigation a,
    h1, h2, h3, h4, h5, h6 {
    	font-family: 'Lato', sans-serif;
    }

    Your child theme will be displayed. Activate your child theme.
    Note: Please change above font family 'Lato', sans-serif to your own font-family.

    Hope this may help you
    Thank you!

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