Hi,
I was hoping you could help me figure out why the dropdown menu doesn't trigger between 992px - 1354px?
Thanks!
2 replies · opened Mar 23, 2021
Hi,
I was hoping you could help me figure out why the dropdown menu doesn't trigger between 992px - 1354px?
Thanks!
Hello,
You will need to edit the JS Files in order to make the Triggers work for a different breakpoint. In the js/functions.js File, you will need to change all the following codes targeting the Headers and Primary Menus:
[ch_pre type="js"]$body.hasClass('device-xl') || $body.hasClass('device-lg')[/ch_pre]
to:
[ch_pre type="js"]windowWidth > 1354[/ch_pre]
and:
[ch_pre type="js"]$body.hasClass('device-md') || $body.hasClass('device-sm') || $body.hasClass('device-xs')[/ch_pre]
to:
[ch_pre type="js"]windowWidth < 1354[/ch_pre]
This should definitely work fine. We are working on making this much more easier in the coming updates.
Let us know if we can help you with anything else or if you find any further issues.
Awesome! It's working, thanks!
Have the same question, or something new?
Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.
Reply on the dashboard