Viewing 1 replies (of 1 total)
  • Plugin Author megamenu

    (@megamenu)

    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.