not responsive anymore
-
Hi, I have the last version of Kerli, which is a great theme but since it’s been updated it’s not responsive anymore. How can I fix this?
I found this fix:if (!is_admin())
add_action(‘wp_enqueue_scripts’, ‘responsive_css’);– if (!function_exists(‘responsive_css’)) {
+ if ( !function_exists( ‘responsive_css’ ) ) {function responsive_css() {
– wp_enqueue_style(‘responsive-media-queries’, get_template_directory_uri() . ‘/core/css/style.css’, false, ‘1.9.3.4’);
– wp_enqueue_style(‘responsive-style’, get_stylesheet_uri(), false, ‘1.9.3.4’);
+ wp_enqueue_style( ‘responsive-style’, get_template_directory_uri() . ‘/style.css’, false, ‘1.9.3.4’ );
+ wp_enqueue_style( ‘responsive-media-queries’, get_template_directory_uri() . ‘/core/css/style.css’, false, ‘1.9.3.4’ );
+ if ( is_child_theme() ) {
+ wp_enqueue_style( ‘responsive-child-style’, get_stylesheet_uri(), false, ‘1.9.3.4’ );
+ }
}}
to put into the function.php of the theme but I don’t know where exactly. Please help me out!
- The topic ‘not responsive anymore’ is closed to new replies.