• Resolved regnar

    (@regnar)


    Hello,
    Great theme (v2) 🙂 I love it.
    But I need google font with latin-ext. How to change them?
    I found part of code related to goole fonts in funcions.php but I have no idea where add &subset=latin,latin-ext ??

    How to change font style to Open Sans?

Viewing 13 replies - 1 through 13 (of 13 total)
  • Theme Author acosmin

    (@acosmin)

    Are you using the default font family, Style #5?

    Thread Starter regnar

    (@regnar)

    yes, I tried every style.
    Can I add or change font pair to my favourite?

    Thread Starter regnar

    (@regnar)

    In dedalut font family Style 5 there are latin-ext letters now. But sometimes they are not loaded.

    Theme Author acosmin

    (@acosmin)

    It’s a little complicated with subsets, it needs a little bit of hacking. I’ll try and integrate it in a few weeks.

    Open Sans is used in Style #6 & #9, you could try them until I patch things up.

    Thread Starter regnar

    (@regnar)

    Unfortunately all your fonts dont work with latin-ext. Please help, because without it my site looks very werid and unprofessional.
    Link: http://www.ideagrafika.pl

    Thread Starter regnar

    (@regnar)

    And one more problem. I translate language files but it doesn’t work. I translated both parent and child theme but with no result. It is strange because I translated many themes before and it always works. This is first time. I even downloadet tanslation file form here; https://translate.wordpress.org/projects/wp-themes/justwrite
    and this didnt resolve problem.

    Theme Author acosmin

    (@acosmin)

    The theme doesn’t support latin-ext at the moment. As for the translation issue, you could try opening functions.php and changing this line:

    load_theme_textdomain( 'justwrite', FALSE, basename( dirname( __FILE__ ) ) . '/languages' );

    to:

    load_theme_textdomain( 'justwrite', get_template_directory() . '/languages' );

    After you change this try and deactivate/activate the theme back.

    Theme Author acosmin

    (@acosmin)

    Any luck with this fix?

    Thread Starter regnar

    (@regnar)

    Unfortunately nothing changed.

    Thread Starter regnar

    (@regnar)

    Ok, now it works. I delated all cache from my wordpress and brownser. Now is ok with your help.

    About this latin-ext fonts. What if I add
    @import url(https://fonts.googleapis.com/css?family=Source+Sans+Pro&subset=latin,latin-ext);

    to css file and than declare font in class later?

    How to disable part of code where you import your google fonts?

    Theme Author acosmin

    (@acosmin)

    You can try to comment (put // in front of them) these lines out:

    wp_register_style( 'ac_webfonts_' . ac_get_selected_ff(), ac_font_url( ac_get_selected_ff() ), array(), null);

    and:

    add_action( 'wp_enqueue_scripts', 'ac_font_styles', 100 );

    Also, select ‘Style #1’ as your default font style in Customizer.

    Now you can change fonts in style.css. Search for

    /* Same Font - Source Sans Pro */
    	font-family: 'Source Sans Pro', sans-serif;

    In that area you also have a few more font families you might want to change to just sans-serif because you don’t have them loaded anymore.

    Thread Starter regnar

    (@regnar)

    It works man! You are amazing developer. Good job and thank you 🙂

    Theme Author acosmin

    (@acosmin)

    You can always leave a simple review 🙂 if you enjoy the theme 🙂

    I am glad it worked out for you…

Viewing 13 replies - 1 through 13 (of 13 total)

The topic ‘Latin-ext fonts’ is closed to new replies.