WordPress.org

Support

Support » Themes and Templates » don't want small menu on ipad

don't want small menu on ipad

  • I would like not to use the accordian style menu when viewed in ipad landscape orientation, but would like to keep it for devices smaller, and probably for ipad in portrait.

    I tried going into js/small-menu.js and changed 1000 to 800 in the following places:

    if ( $( window ).width() < 1000 )
    ...
    if ( browserWidth < 1000 )

    and that briefly had the desired effect, but it instantly changes back to the accordian menu. What else do I need to change?

    Thanks for a great theme.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Theme Author Template Express

    @danstriker

    Hello,

    You will have adjust the width and test until it fits for the device. The code you have changed is correct.

    Not sure why it won’t work, but even if I put 100 for the width, it still shows the small menu on my ipad in landscape mode. I know the window is bigger than 100! I see the regular menu for a second, then it disappears. Something is overriding it, just not sure what.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘don't want small menu on ipad’ is closed to new replies.