Title: Change width when mobile menu appears
Last modified: September 2, 2016

---

# Change width when mobile menu appears

 *  Resolved [Dave](https://wordpress.org/support/users/deeve007/)
 * (@deeve007)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/change-width-when-mobile-menu-appears/)
 * 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](https://wordpress.org/support/users/edge22/)
 * (@edge22)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/change-width-when-mobile-menu-appears/#post-7837502)
 * Hi there,
 * This code should work: [https://gist.github.com/generatepress/c23aef2d05807c39bb32](https://gist.github.com/generatepress/c23aef2d05807c39bb32)
 * Just adjust the 768px to whatever you like.
 * Adding CSS: [https://generatepress.com/knowledgebase/adding-css/](https://generatepress.com/knowledgebase/adding-css/)
 * Let me know if you need more info 🙂
 *  Thread Starter [Dave](https://wordpress.org/support/users/deeve007/)
 * (@deeve007)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/change-width-when-mobile-menu-appears/#post-7849312)
 * Thanks for that. Would probably be advisable to include as an admin option somewhere.
 * Cheers.
 *  Theme Author [Tom](https://wordpress.org/support/users/edge22/)
 * (@edge22)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/change-width-when-mobile-menu-appears/#post-7867953)
 * 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](https://wordpress.org/support/users/deeve007/)
 * (@deeve007)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/change-width-when-mobile-menu-appears/#post-7872509)
 * 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 9 years, 9 months ago by [Dave](https://wordpress.org/support/users/deeve007/).
 *  Theme Author [Tom](https://wordpress.org/support/users/edge22/)
 * (@edge22)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/change-width-when-mobile-menu-appears/#post-7877430)
 * 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.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/generatepress/3.6.1/screenshot.
   png)
 * GeneratePress
 * [Support Threads](https://wordpress.org/support/theme/generatepress/)
 * [Active Topics](https://wordpress.org/support/theme/generatepress/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/generatepress/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/generatepress/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Tom](https://wordpress.org/support/users/edge22/)
 * Last activity: [9 years, 9 months ago](https://wordpress.org/support/topic/change-width-when-mobile-menu-appears/#post-7877430)
 * Status: resolved