li > .dropdown-menu { font-family: ' . get_theme_mod('menu_font', 'Urbanist') . '!important ; } h1, h2, h3, h4, h5, h6{ font-family: ' . get_theme_mod('theme_title', 'Urbanist') . '; } html, body, p, table, caption, tbody, tfoot, thead, tr, th, td, input, button, select, textarea { font-family: ' . get_theme_mod('desc_font_all', 'Urbanist') . '; }'; $output .=' .logo img{ height:'.esc_attr(get_theme_mod('logo_height','100')).'px; width:'.esc_attr(get_theme_mod('logo_width','100')).'px; }'; //custom css $custom_css = get_theme_mod('custom_css') ; if (!empty ($custom_css)) { $output .= get_theme_mod('custom_css') . "\n"; } wp_register_style('custom-header-style', false); wp_enqueue_style('custom-header-style', get_template_directory_uri() . '/css/custom-header-style.css'); wp_add_inline_style('custom-header-style', $output); } /* Add Typography Settings code end */ function buddy_news2() { // Include google webfont locally Typography Settings // require_once get_theme_file_path( 'inc/wptt-webfont-loader.php' ); $font_families = array( 'Urbanist:wght@300;400;500;600;700;900' ); $fonts_url = add_query_arg( array( 'family' => implode( '&family=', $font_families ), 'display' => 'swap', 'subset' => 'latin,latin-ext', ), 'https://fonts.googleapis.com/css2' ); $contents = wptt_get_webfont_url( esc_url_raw( $fonts_url ) ); // Load the webfont. wp_enqueue_style( 'Urbanist', $contents, array(), '1.0' );} /* Web Fonts Typography Settings code end */