Skip to content
This repository has been archived by the owner on Sep 16, 2019. It is now read-only.

Change off-canvas menu height to affect all menus #747

Merged
merged 2 commits into from
Mar 7, 2016
Merged

Change off-canvas menu height to affect all menus #747

merged 2 commits into from
Mar 7, 2016

Conversation

bej-soan
Copy link
Contributor

@bej-soan bej-soan commented Mar 3, 2016

Right now the line ul#menu-main-menu only targets the specific WordPress menu named main-menu. Shouldn't it target ALL menus placed in offcanvas?

Right now the line ul#menu-main-menu only targets the specific menu named 'main-menu'. Shouldn't it target ALL menus placed in offcanvas?
@olefredrik
Copy link
Owner

I'm not sure this is a good idea. Are you suggesting that nested submenus inside an off-canvas menu should have a 100vh height attribute? Can you explain why this makes sense?

@bej-soan
Copy link
Contributor Author

bej-soan commented Mar 3, 2016

I'm sorry. I did not mean all menus inside including submenus. I meant only the first menu, but not called by name main-menu. so it's > ul.menu.

Maybe some background info: I noticed the off-canvas menu is not 100% height and so the background is not complete filled with the color from settings. I tracked it down to this line, just setting ul#menu-main-menu to 100vh, not other named menus. You can see the difference here.

olefredrik added a commit that referenced this pull request Mar 7, 2016
Change off-canvas menu height to affect all menus
@olefredrik olefredrik merged commit 294ff0a into olefredrik:master Mar 7, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants