Title: Custom width
Last modified: August 24, 2016

---

# Custom width

 *  Resolved [luctrue](https://wordpress.org/support/users/luctrue/)
 * (@luctrue)
 * [11 years ago](https://wordpress.org/support/topic/custom-width-2/)
 * I wish to have the drop down portion cover only the part of my menu starting 
   next to masthead logo. How to proceed?
 * [http://crc.canadianpatriot.org](http://crc.canadianpatriot.org)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [megamenu](https://wordpress.org/support/users/megamenu/)
 * (@megamenu)
 * [11 years ago](https://wordpress.org/support/topic/custom-width-2/#post-5981655)
 * Hi,
 * Disclaimer: there is a lot going on in your header (the same menu is output 4
   times, but you can only see one of them), so without cleaning up your header 
   file in your template its really difficult to see what’s going on, which makes
   it tricky to advise you without having to ‘bodge’ something. Ideally you would
   only have a single call to wp_nav_menu in your header.php file (see this page
   for more info: [https://maxmegamenu.com/documentation/faqs/removing-residual-styling/](https://maxmegamenu.com/documentation/faqs/removing-residual-styling/))
 * With that in mind, you can try:
    Change the bit of CSS where you have ‘clear:
   inline’ to ‘display: inline-block’* or In the theme editor, set the Panel width
   to a pixel value (eg 300px), this will align each menu to the left hand edge 
   of the parent menu item
 * *the problem with that is it will make your header appear about 10px taller, 
   and I can’t work out where that extra 10px is coming from.
 * Regards,
    Tom
 *  Thread Starter [luctrue](https://wordpress.org/support/users/luctrue/)
 * (@luctrue)
 * [11 years ago](https://wordpress.org/support/topic/custom-width-2/#post-5981798)
 * Hey Tom,
 * Thank you so much for your help. You pointed me in the right direction and now
   it works a lot better!
 * I ended up adding this.
 *  #so-mobilenav-mobile-1 {display:none;} to get rid of the 10-20 pixel under the
   masthead.
 * Cheers!
 * Luc

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Custom 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/)

## Tags

 * [custom width](https://wordpress.org/support/topic-tag/custom-width/)
 * [dropdown](https://wordpress.org/support/topic-tag/dropdown/)

 * 2 replies
 * 2 participants
 * Last reply from: [luctrue](https://wordpress.org/support/users/luctrue/)
 * Last activity: [11 years ago](https://wordpress.org/support/topic/custom-width-2/#post-5981798)
 * Status: resolved