WordPress.org

Ready to get started?Download WordPress

Forums

JQuery Vertical Mega Menu Widget
Two line menu attribute. (5 posts)

  1. mrmccarrin
    Member
    Posted 11 months ago #

    I am using the Vertical Mega Menu and I have one menu attribute that is two lines:

    Modification and
    Termination of Benefits

    On the second line, the color goes away. Any suggestions on how to fix that?

    My site is http://www.pkworkcomp.com

    Thank you.

    http://wordpress.org/extend/plugins/jquery-vertical-mega-menu/

  2. bubbastien
    Member
    Posted 8 months ago #

    I had the same problem, both with multi-line button labels and responsive sites that don't always preserve the menu width correctly. The problem is that the button backgrounds for the normal and hover states are both part of a single image that is shifted up and down based on the button state. The fix requires a few things to be changed, there need to be two separate background images and the css needs to be changed to accommodate two images, to stop moving the image based on button state, and to change the fill method set for the button background.

    I'll zip up the skin css with grey versions of the images and you can just fill the images with whatever color you like and drop them all in the skins directory. I'll try to find them a long term storage place and provide a link so others can stop the madness in the future. It's not a difficult fix but why make everyone re-invent the wheel to make their menus work ;)

  3. bubbastien
    Member
    Posted 8 months ago #

    As promised, here is the zip file containing the css and images to put in your skins folder.

    skins.zip

    I used the white background so you can fill it with whatever color you like.

    I haven't tried it with fly out sub menus but I would think it should behave the same as the default styles. If not, I'm sure it wouldn't be that hard to adjust the alignment.

    You will notice that the top shadow in the hover state is fatter than normal, that's due to the background being stretched to fill the larger button. I'm not bothered by it and I haven't had any clients notice it yet, so I don't think it's a problem.

    What do you want for nothing ;)

  4. Don Caprio
    Member
    Posted 5 months ago #

    You just saved a life. Had the same problem with the plugin and this worked perfectly.

  5. markvwhite
    Member
    Posted 1 month ago #

    Cheers bubbastien, saved a life here as well, keep up the good work.
    Much appreciated.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.