Created
June 15, 2020 16:18
-
-
Save farookibrahim/e1f59891e0a56c371df08919ef2f7594 to your computer and use it in GitHub Desktop.
Cartzilla - Add custom Google Font
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| if( ! function_exists( 'cz_child_custom_google_font_families_roboto' ) ) { | |
| function cz_child_custom_google_font_families_roboto( $fonts ) { | |
| $fonts['roboto'] = 'Roboto:100,300,400,500,700,900'; | |
| return $fonts; | |
| } | |
| } | |
| add_filter( 'cartzilla_google_font_families', 'cz_child_custom_google_font_families_roboto', 20 ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| body, | |
| .tooltip, | |
| .popover, | |
| .a2a_count, | |
| .a2a_full_services .a2a_i, | |
| .a2a_menu a, | |
| .single-post .sharedaddy .sd-social-icon-text .share-btn span { | |
| font-family: 'Roboto', sans-serif; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment