Quantcast
Channel: remove – 100% Private Proxies – Fast, Anonymous, Quality, Unlimited USA Private Proxy!
Viewing all articles
Browse latest Browse all 30

Remove “Default” from Gutenberg typography settings

$
0
0

I’ve added my own font sizes to the theme I’m working on, but the value "Default" persists in the dropdown. With the name scheme needed for this particular site I cannot just reformat "Default" to fit with my baseline typography. Can "Default" be removed somehow?

enter image description here

Code:

add_theme_support( 'editor-font-sizes', array(     array(         'name' => esc_attr__( 'Book 16px', 'wav' ),         'size' => 16,         'slug' => 'book16px'     ),     array(         'name' => esc_attr__( 'Book 20px', 'wav' ),         'size' => 20,         'slug' => 'book20px'     ),     array(         'name' => esc_attr__( 'Book 24px', 'wav' ),         'size' => 24,         'slug' => 'book24px'     ),     array(         'name' => esc_attr__( 'Book 32px', 'wav' ),         'size' => 32,         'slug' => 'book32px'     ),     array(         'name' => esc_attr__( 'Book 36px', 'wav' ),         'size' => 36,         'slug' => 'book36px'     ),     array(         'name' => esc_attr__( 'Book 48px', 'wav' ),         'size' => 48,         'slug' => 'book48px'     ),     array(         'name' => esc_attr__( 'Book 64px', 'wav' ),         'size' => 64,         'slug' => 'book64px'     ),     array(         'name' => esc_attr__( 'Book 96px', 'wav' ),         'size' => 96,         'slug' => 'book96px'     ),     array(         'name' => esc_attr__( 'Book 144px', 'wav' ),         'size' => 144,         'slug' => 'book144px'     ), )); 

The post Remove “Default” from Gutenberg typography settings appeared first on 100% Private Proxies - Fast, Anonymous, Quality, Unlimited USA Private Proxy!.


Viewing all articles
Browse latest Browse all 30

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>