Mega Menu submenu flows off screen

edited March 2016 in Menu / Mega menu
Good day interwebs.

I am having an issue with the Mega Menu. I am using the left sidebar menu option, and the sub-menus of the buttons closest to the bottom of the menu flow off the screen, i.e. half of it isn't on the screen. Is there any code that can force submenus to flow upwards instead of down? I'm thinking maybe I can target the bottom buttons directly to switch their submenus around.

Thanks in advance!

EDIT: I have fixed the issue by applying "top: -100px;" (example amount) to the list element of the submenu to move it upwards by the desired amount to create the illusion that it is fixed by the bottom. I saw that each of my submenu's cells were 52px high, so I multiplied that by the amount of cells in the submenu, and then subtracted the height of one of the main menu's cells to calculate the amount that I needed to move the submenu.

For example, the main menu cell's height is 49px, and the sub-menu cell's height is 52px. There are seven cells in the submenu. Thus (52 x 7) - 49. Yay!

Comments

Sign In or Register to comment.