Customized Definition When The Mobile Menu Starts - Question | JoomShaper
Black Friday sale is live with flat 50% OFF. Sale ends soon! Grab your deal now!

Customized Definition When The Mobile Menu Starts

ID

Isabelle Dionisius

Helix Framework 3 years ago

Hi community,

I am wondreing how I can define in my custom css at what device size the main menu becomes a mobile menu. Right now, it is defined to become mobile at around 1000 px. Unfortunately, that breaks the menu e.g. in a iPad prow. I would like to define in those cases that the mobile menu appears earlier than the default value.

Attached is a picture.

Link: www.btg-ge.eu

Image attached: https://ibb.co/YLvb8CV

Best Isabe;;e

0
4 Answers
Rashida Rahman
Rashida Rahman
Accepted Answer
Support Agent 3 years ago #56308

Hi there!

If I may...

You can use the following code snippet in your custom CSS:

@media (max-width: 1024px){
#offcanvas-toggler {
display: flex !important;
}
.sp-megamenu-parent{
    display:none !important;
}
}

I have used 1024px as a breakpoint in the above code. You can put your desired resolution there.

Note: Path towards custom CSS: Extensions>Templates>Styles> Click on your current default template name then choose Template Options. Then find custom CSS within the custom code.

Best Regards

0
Mehtaz Afsana Borsha
Mehtaz Afsana Borsha
Accepted Answer
Support Agent 3 years ago #56295

Hi

You can use the off-canvas menu in that case.You can follow this

https://www.joomshaper.com/documentation/helix-framework/helix-ultimate-2/menu-navigation

-Regards

0
ID
Isabelle Dionisius
Accepted Answer
3 years ago #58775

Thank you very much. That works

0
Rashida Rahman
Rashida Rahman
Accepted Answer
Support Agent 3 years ago #58829

You are always welcome:)

0