• hello, I’m having an issue where I’m using the twentythirteen theme of wordpress. Normally, if you condense your window screen to a narrow view then the navigation works if you click “menu” and can see the pages below. However, it does not work in the theme that I have modified… is there an easy way so that I can “enable” it possibly?

Viewing 15 replies - 1 through 15 (of 18 total)
  • it does not work in the theme that I have modified

    Do not edit the Twenty Thirteen theme. It is the current default WordPress theme and having access to an original, unedited, copy of the theme is vital in many situations. First create a child theme for your changes. Or install a custom CSS plugin.

    Thread Starter mixmastermichael

    (@mixmastermichael)

    I mean I have the twentythirteen theme on backup as a reference but I cant seem to find what it would be that actually enables it… any ideas?

    If not I’ll just make a hide / show jquery but was hoping to just use the feature if it can be fixed.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    The default theme has a working mobile menu, what do you mean?

    Re-upload a fresh, unpacked, copy of the Twenty Thirteen folder to wp-content/themes using FTP or whatever file management application your host provides.
    https://www.ads-software.com/themes/twentythirteen

    Thread Starter mixmastermichael

    (@mixmastermichael)

    yeah, the base “twentythirteen” theme has the mobile menu that works fine.. but I’ve changed so much on this site I don’t think I could go back to it to re-start. I just don’t know the paramaters of what actually makes the twentythirteen theme work

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Do you have JavaScript errors?

    Thread Starter mixmastermichael

    (@mixmastermichael)

    Hmm firebug is not showing any javascript errors… I also tried to just copy over the header from the default 2013 code to see if that works.

    Any joy?

    I’ve the same issue, working with a twentythirteen-child theme. In child’s style.css I’ve modified almost all the styles applied to nav-menu and sub-menu.

    No javascript errors.

    I’m currently looking if I did overwrite some required style…

    @manugarrido: As per the Forum Welcome, please post your own topic.

    Thread Starter mixmastermichael

    (@mixmastermichael)

    @manugarrido

    I did fix it…. what I ended up doing to fix this issue though is just build my own hide/show jquery tab that works on the mobile version instead of what was supposed to come with the theme. Replace the <h3>menu</h3> with something like this, and put the script in the header.

    https://www.w3schools.com/jquery/jquery_hide_show.asp

    @esmi: Sorry, thought it was the same issue.

    @mixmastermichael: I fixed it in the quick way…

    I just added `
    // Toggles small menu
    $( ‘.menu-toggle’ ).on( ‘click’, function() {
    $( ‘#site-navigation’ ).toggleClass( ‘toggled-on’ );
    } );` to my child’s header.php

    I think my issue was something around nav-menu z-index (I have a sticky menu).

    Thanks ??

    Thread Starter mixmastermichael

    (@mixmastermichael)

    ah, that might have been it for me too.. I also have a sticky menu. Good to know.

    Lol, I jumped again into the same issue… again.

    Somehow the id of the inner item to ‘navbar’ is changed; All you need to do is go to your header.php and change back the id. Mine was “navigation”.

    WordPress menu-toggle event looks for ‘site-navigation’.

    How this help someone.

    @ manugarrido

    where in the header do you put the code?
    Obviously i have the same problem.

    I’ve been working on the site dependabledogs.com using the 2013 menu.
    I have it so it works fine with a computer and tablet, but I don’t see the menu on a phone.

    I reset the theme from my childtheme to twentythirteen and I see a menu button that allows me to then see the rest of the menu.

    But I don’t see it when I use my theme.
    I see the search box, but that is all.

    Can someone tell me what I need to do to get this menupulldown option on the mobile?

Viewing 15 replies - 1 through 15 (of 18 total)
  • The topic ‘Twentythirteen toggle menu wordpress in mobile version not working’ is closed to new replies.