Support » Theme: Dellow » How to change font to Lato Latin ext

  • Resolved zdzich

    (@hydrax)


    Hi
    I dont have polish characters. I search every file but i dont find how to change font . Where may I change font to Lato Latin Ext ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi Hydrax,

    If your theme doesn’t offer an option to set the font family from the control panel or the Customize panel, then you’ll have to tackle some php code.

    The best route would be to create a child theme and add a functions.php file in it. Next, in functions.php, you’ll have to enqueue your own chosen font. If you want to see how this is done in your theme, open functions.php in your parent theme and find the dellow_scripts() function. The very first line inside this function looks like this:

    wp_enqueue_style( 'dellow-fonts', '//fonts.googleapis.com/css?family=Lato:400,700,300' );

    What you can do in functions.php in your child theme is to create a dellow_child_scripts() function and inside it add your enqueued font replacing Lato with Lato Latin Ext.

    I hope this helps 🙂
    – Maria Antonietta.

    I find it but i dont kwon what i must to write for that. Now I known, im stupid, its simple 😉
    For others like I am 😉
    this

    fonts.googleapis.com/css?family=Lato:400,700,300

    replace this code and its word fine with polish characters 🙂

    //fonts.googleapis.com/css?family=Lato&subset=latin,latin-ext:300,400,700,900,300italic,400italic,700italic

    That’s it, great! Is this what you were looking for? Is the result what you expected?

    Yes 🙂 Its ok 🙂 Font have polish characters and its looking good. I’m happy:)

    Mission accomplished and issue resolved. Great! 🙂

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to change font to Lato Latin ext’ is closed to new replies.