WordPress.org

Ready to get started?Download WordPress

Forums

Formation
don't want small menu on ipad (3 posts)

  1. misskris
    Member
    Posted 9 months ago #

    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.

  2. Template Express
    Member
    Theme Author

    Posted 9 months ago #

    Hello,

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

  3. misskris
    Member
    Posted 8 months ago #

    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.

Reply

You must log in to post.

About this Theme

About this Topic