• Resolved giorgiasipione

    (@giorgiasipione)


    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!

Viewing 1 replies (of 1 total)
  • Theme Author VolThemes

    (@volthemes)

    Hi,

    Sorry I’m not sure i understand.

    there’s no function “responsive_css” instead “kerli_lite_css”,
    and there is no folder and directory ‘/core’.

    the theme has responsive features (since version 1.0) that viewable in any devices.

    if you use/create child theme, simply use import method from the parent theme stylesheet using:
    @import url('../kerli-lite/style.css');

Viewing 1 replies (of 1 total)
  • The topic ‘not responsive anymore’ is closed to new replies.