• Resolved Dave

    (@deeve007)


    How can I change when the mobile menu appears? I would have thought this would be in the admin panel as you can never know how many menu items a site might have.

    If it’s not, can you let me know what code I would need to add to the child theme to customise this?

    Thanks.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Theme Author Tom

    (@edge22)

    Hi there,

    This code should work: https://gist.github.com/generatepress/c23aef2d05807c39bb32

    Just adjust the 768px to whatever you like.

    Adding CSS: https://generatepress.com/knowledgebase/adding-css/

    Let me know if you need more info ??

    Thread Starter Dave

    (@deeve007)

    Thanks for that. Would probably be advisable to include as an admin option somewhere.

    Cheers.

    Theme Author Tom

    (@edge22)

    I agree – setting an option for the breakpoint would be amazing. Unfortunately, a lot of the caching plugins don’t make this possible, yet. It’s a top priority though ??

    Thread Starter Dave

    (@deeve007)

    Well you would definitely clear any cache after making a change like that, but that would be simple to have a notice appear after this kind of update reminding a user of that.

    • This reply was modified 8 years, 3 months ago by Dave.
    Theme Author Tom

    (@edge22)

    I am the developer – the new forums just don’t mention that yet.

    The cache comes from third party plugins (W3 Total Cache, WP Super Cache etc..). They make a change like that very tricky.

    Working on it though ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Change width when mobile menu appears’ is closed to new replies.