• Resolved biplaner

    (@biplaner)


    Hi Anthony,

    many thanks for your great starter theme and good support!

    Is it possible to change the browser width (520px) in order to let the toggle menu already appear at a higher resolution? As far as I can see in the small-menu.js, it is set to 520px. If I like to have the toggle menu appear already at 768px for example, is it anyhow possible when using a child-theme?

    Thanks an regards,

    Alex

Viewing 1 replies (of 1 total)
  • Thread Starter biplaner

    (@biplaner)

    … found a solution, just for anyone who has the same topic:

    I copied the edited small-menu.js into the child-theme folder (/js) and copied the lines, where the toggle-menu could be activated (in the parents functions.php) into the child-themes functions.php.

    Then I replaced
    wp_register_script( 'small-menu', trailingslashit( get_template_directory_uri() ) . 'js/small-menu.js', array( 'jquery' ), '20130130', true );
    with
    wp_register_script( 'small-menu', trailingslashit( get_stylesheet_directory_uri() ) . 'js/small-menu.js', array( 'jquery' ), '20130130', true );

    in the child-themes functions.php.

    Works perfectly.

    So topic is resolved ??

Viewing 1 replies (of 1 total)
  • The topic ‘Toggle Menu already at higher resolution?’ is closed to new replies.