• Resolved sv9t

    (@sv9t)


    Hi! menu is not working in actived Kyma child-theme on tablet, mobile, netbook and etc. In the actived theme Kyma menu works on all devices.
    Why? any ideas?

Viewing 15 replies - 1 through 15 (of 18 total)
  • Theme Author WebHunt Infotech

    (@webhuntinfotech)

    Hi,

    Please share the site URL where you are running child theme of Kyma.

    We’ll check it.

    Thanks

    Thread Starter sv9t

    (@sv9t)

    this is test-site

    Thread Starter sv9t

    (@sv9t)

    Now I don’t look my post with link test-site…

    Thread Starter sv9t

    (@sv9t)

    WebHunt Infotech, you look link?

    Theme Author WebHunt Infotech

    (@webhuntinfotech)

    Hi,

    We look it.

    Thanks

    Hi,

    Have you made any changes into your “Child-Theme” directory.

    Thanks

    Thread Starter sv9t

    (@sv9t)

    yes, I add code in file functions.php

    add_action( 'wp_enqueue_scripts', 'child_enqueue_styles',99);
    function child_enqueue_styles() {
        $parent_style = 'parent-style';
        wp_enqueue_style( $parent_style, get_template_directory_uri() . '/style.css' );
    	 wp_enqueue_style( 'child-style',get_stylesheet_directory_uri() . '/custom.css', array( $parent_style ));
    }
    if ( get_stylesheet() !== get_template() ) {
        add_filter( 'pre_update_option_theme_mods_' . get_stylesheet(), function ( $value, $old_value ) {
             update_option( 'theme_mods_' . get_template(), $value );
             return $old_value; // prevent update to child theme mods
        }, 10, 2 );
        add_filter( 'pre_option_theme_mods_' . get_stylesheet(), function ( $default ) {
            return get_option( 'theme_mods_' . get_template(), $default );
        } );
    }

    This code from manual Kyma-theme

    Thread Starter sv9t

    (@sv9t)

    When I deleted code (look up) menu in child-theme started to work on the tablet and mobile. Where is an error in the code?

    Theme Author WebHunt Infotech

    (@webhuntinfotech)

    Hi,

    Use this “Child-Theme” package.

    Here is a LINK.

    And performed your changes in this package.

    Let us know for further assistance.

    Hope it will work for you.

    Thank You

    Thread Starter sv9t

    (@sv9t)

    Yes, it’s work! Thank you for help!))

    Theme Author WebHunt Infotech

    (@webhuntinfotech)

    @most Welcome

    Thanks

    nmlsh

    (@nmlsh)

    The link to “Child Theme” package has disappeared, can you put it back?

    webhuntsupport

    (@webhuntsupport)

    Hi,

    Here is a LINK.

    Thank You

    nmlsh

    (@nmlsh)

    Thank you..

    Theme Author WebHunt Infotech

    (@webhuntinfotech)

    Most Welcome

Viewing 15 replies - 1 through 15 (of 18 total)
  • The topic ‘Menu is not working in Kyma child-theme’ is closed to new replies.