Forked from generatepress/gist:9282385984459c7ac6f2
Created
December 4, 2016 09:49
-
-
Save IkeTen/e4a9835608af522e003916ae200429a4 to your computer and use it in GitHub Desktop.
Remove the core mobile.css file and add your own to your child theme
This file contains 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
add_action( 'wp_enqueue_scripts', 'generate_replace_mobile', 100 ); | |
function generate_replace_mobile() { | |
wp_dequeue_style( 'generate-mobile-style' ); | |
wp_enqueue_style( 'custom-mobile-style', get_stylesheet_directory_uri() . '/css/mobile.css', false, GENERATE_VERSION, 'all' ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment