Support » Theme: Twenty Twelve » Sub nav for tablet and mobile landscape don’t work in twentytwelve theme

  • Resolved Sharp-Image

    (@sharp-image)


    It seems that the sub nav is not working on mobile landscape and tablet devices for the twentytwelve theme. Does anybody has an idea to fix this?
    Many thanks
    Bouke

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Thread Starter Sharp-Image

    (@sharp-image)

    This is fixed by updating the navigation.js

    jQuery(document).ready(function($){
      if ($(window).width() > 767) {
      }
      else {
        $('.main-navigation li ul').hide();
        $('.menu-item-has-children').has('ul').click(function() {
          $('.menu-item-has-children a').css("display", "block !important");	
          $(this).children().toggle();
        });
      }
    });
Viewing 1 replies (of 1 total)
  • The topic ‘Sub nav for tablet and mobile landscape don’t work in twentytwelve theme’ is closed to new replies.