Google Font : How to Avoid loading all font-weight
-
Hi,
I’m using only one font (Montserrat), and I’d like to avoid loading all font-weight styles for this font (100,200…900 + italics versions).
I already disable italics fonts loading with this custom hook :add_filter( 'ocean_google_font_enqueue_italics', '__return_false');
It’s working fine.
Now i’d like to load only 300,400,500 and 600 font-weight.
Is it possible ?Thanks for your help
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Google Font : How to Avoid loading all font-weight’ is closed to new replies.