Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author megamenu

    (@megamenu)

    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/ )

    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

    (@luctrue)

    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.