Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1421754

    jennieokee
    Participant

    Hey

    I am using Montserrat and i was wondering how i can get the Montserrat thing to show as an option

    Currently only options about 400 (regular) and 700 (bold)

    As would really like to use the 100 for headings – but i dont get the option of all the sizes for the headings

    #1421779

    Jade
    Moderator

    Hi there,

    Please install and activate the child theme and add this in the functions.php:

    add_action( 'wp_enqueue_scripts', 'load_scripts ' ); 
     
    function load_scripts() {	
    
    	wp_enqueue_style( 'load-google-font', 'https://fonts.googleapis.com/css?family=Montserrat:100,400,700' );
    }

    Then add this code in the CSS customizer:

    h1, h2, h3, h4, h5, h6, 
    .h1, .h2, .h3, .h4, .h5, .h6 {
        font-family: 'Montserrat', sans-serif;
    }

    Hope this helps.

    #1423894

    jennieokee
    Participant

    ok thankyou

    Will this only work in a child theme?

    Is making child theme relatively easy… ? Sorry im a bit of a beginner

    Jen xx

    #1423913

    Rahul
    Moderator

    Hi There,

    Thanks for writing in! Yes, we would recommend you to use child themes https://community.theme.co/kb/how-to-setup-child-themes/

    And for your reference to work with X, you can use our knowledge base from https://community.theme.co/kb/

    Cheers!