Ensure text remains visible during webfont load
-
How I can apply swap to the custom font, I would like to do something similar like elementor custom font. For example to add code snipped:
add_filter( 'elementor_pro/custom_fonts/font_display', function( $current_value, $font_family, $data ) { return 'swap'; }, 10, 3 );
But I would like to replicated with the custom font of brainstorm. Please help me.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Ensure text remains visible during webfont load’ is closed to new replies.