Title: sub-menu full width
Last modified: August 21, 2016

---

# sub-menu full width

 *  [Matt Cromwell](https://wordpress.org/support/users/webdevmattcrom/)
 * (@webdevmattcrom)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/sub-menu-full-width/)
 * Is it possible to have the root menu fill it’s container, but the sub-menu to
   fill the whole screen width? I’m experimenting with CSS options, but wondered
   if there was any settings that might help me get there.
 * Thanks for a REALLY robust and reliable plugin!
 * [https://wordpress.org/plugins/megamenu/](https://wordpress.org/plugins/megamenu/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [megamenu](https://wordpress.org/support/users/megamenu/)
 * (@megamenu)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/sub-menu-full-width/#post-5141872)
 * Hi webdevmattcrom (hey that sounds familiar ;))
 * If you set the panel width to a percentage in the Theme Editor, then the panels
   will be that percentage of the menu itself. I.e. if your menu is 500px wide and
   the panel width is set to 90%, the panel will be 450px wide. Therefore a percentage
   width is only really useful if your menu is 100% wide itself.
 * If you set the panel width to a px value, then the panel will always be that 
   wide (regardless of the width of the actual menu). So you can use pixel values
   to ‘break out’ of the constraints of the menu container.
 * At the moment the panel width is all CSS based. I think to be able to say “make
   the panel the same width as the body” or “make the panel the width of #container”
   would require some JavaScript, I don’t think it’s possible with pure CSS (happy
   to be corrected on that!)
 * I’ll have a play around with that though as it seems like it would be a nice 
   feature, may need to brush up on my jQuery a bit first, stay tuned..
 * Regards,
    Tom

Viewing 1 replies (of 1 total)

The topic ‘sub-menu full width’ is closed to new replies.

 * ![](https://ps.w.org/megamenu/assets/icon-128x128.png?rev=1489843)
 * [Max Mega Menu](https://wordpress.org/plugins/megamenu/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/megamenu/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/megamenu/)
 * [Active Topics](https://wordpress.org/support/plugin/megamenu/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/megamenu/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/megamenu/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [megamenu](https://wordpress.org/support/users/megamenu/)
 * Last activity: [11 years, 10 months ago](https://wordpress.org/support/topic/sub-menu-full-width/#post-5141872)
 * Status: not resolved