Title: Variants without Regular Not Loading
Last modified: July 29, 2017

---

# Variants without Regular Not Loading

 *  [Nicscott01](https://wordpress.org/support/users/nicscott01/)
 * (@nicscott01)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/variants-without-regular-not-loading/)
 * When trying to load Lato font, with only the 100 font weight variant, I discovered
   that the built-in script enqueue wouldn’t load the 100 variant. Upon further 
   digging, it looks like this line of code needs to be changed:
 * functions.php file, line 89, from:
    $fvariants = ”;
 * to:
    $f_variants = implode( ‘,’, $font[‘variants’]);
 * With this, I’m able to load any/all variants selected, regardless of whether 
   or not “regular” (400) is selected.
 * Hope this helps and thanks for a helpful plugin!

The topic ‘Variants without Regular Not Loading’ is closed to new replies.

 * ![](https://ps.w.org/acf-google-font-selector-field/assets/icon-256x256.png?rev
   =1141057)
 * [ACF: Google Font Selector](https://wordpress.org/plugins/acf-google-font-selector-field/)
 * [Support Threads](https://wordpress.org/support/plugin/acf-google-font-selector-field/)
 * [Active Topics](https://wordpress.org/support/plugin/acf-google-font-selector-field/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/acf-google-font-selector-field/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/acf-google-font-selector-field/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [Nicscott01](https://wordpress.org/support/users/nicscott01/)
 * Last activity: [8 years, 10 months ago](https://wordpress.org/support/topic/variants-without-regular-not-loading/)
 * Status: not resolved