Faster fonts on mobile

WordPress has wp_is_mobile() function to detect mobile and handheld devices. You can use that to define your enqueue function to load fonts conditionally. You can enqueue fonts for non mobile devices like this. function my_enqueue_function() { if ( !wp_is_mobile() ) { wp_enqueue_style( ‘gfonts’, ‘http://fonts.googleapis.com/css?family=Arbutus+Slab’, false, NULL, ‘all’ ); } } add_action( ‘wp_enqueue_scripts’, ‘my_enqueue_function’ );

CSS only loads in backend

The action for adding scripts and styles is wp_enqueue_scripts, scripts is plural. The function for adding a script is wp_enqueue_script, script is singular. add_action( ‘wp_enqueue_scripts’, ‘load_top_bar_style’ );

Child Theme CSS not showing at all

Please use this instead of what you are using. This will definitely work. <?php function my_theme_enqueue_styles() { $parent_style=”parent-style”; // This is ‘twentyfifteen-style’ for the Twenty Fifteen theme. wp_enqueue_style( $parent_style, get_template_directory_uri() . ‘/style.css’ ); wp_enqueue_style( ‘child-style’, get_stylesheet_directory_uri() . ‘/style.css’, array( $parent_style ), wp_get_theme()->get(‘Version’) ); } add_action( ‘wp_enqueue_scripts’, ‘my_theme_enqueue_styles’ ); ?> For more details on configuring Child … Read more