Trigger switch from main menu bar to offcanvas menu when main menu would break in two lines?

by Joe   Last Updated August 05, 2019 10:10 AM - source

I have a website in three languages, so the main menu doesn't take the same space for all the languages. Because of that, the main menu gets broken up into two lines when the words in the main menu are longer for some languages, which needs to be avoided. Any idea how I can code that the main menu bar switches to my offcanvas menu, as soon as it would break into two main menu lines, one above the other, maybe in CSS?

Related Questions

the menu item "home" is not taking "active class"

Updated September 06, 2016 08:06 AM

Helix 3 Menu Problem

Updated January 08, 2017 08:04 AM

I want to make the menu sticky

Updated April 11, 2016 08:04 AM