How To Change The Breakpoint Of The Mobile Menu? - Question | JoomShaper
Black Friday sale is live with flat 50% OFF. Sale ends soon! Grab your deal now!

How To Change The Breakpoint Of The Mobile Menu?

LA

Ludwig Alberter

Helix Framework 2 years ago

I want to show the regular menu on devices smaller than 960px. Where do I modify the breakpoint?

0
5 Answers
Mehtaz Afsana Borsha
Mehtaz Afsana Borsha
Accepted Answer
Support Agent 2 years ago #123687

Hi there!

Thanks for contacting us.

The Helix ultimate and the SP Page Builder latest version both are using/following the Bootstrap 5 breakpoints.

Related info:

https://www.joomshaper.com/documentation/helix-framework/helix-ultimate-2/introduction#span-class-h3-container-width-span

https://prnt.sc/sTSxhlnrj3Xg

https://getbootstrap.com/docs/5.0/layout/breakpoints/

Helix Ultimate is based on Bootstrap5 - so it uses this same breakpoints. But those are used ONLY for columns in Rows Layout. More details here (at the bottom): https://www.joomshaper.com/documentation/helix-framework/helix-ultimate-2/layout-builder

and SPPB uses those same but it has only for Mobile / Tablet.

-Regards.

0
LA
Ludwig Alberter
Accepted Answer
2 years ago #123694

Thanks for the quick response. I know these documents and I've read through the SPPB documentation, but I cannot work out how to modify the breakpoint for the menu on mobile devices. What elements need to be specified in my custom.css to make the hamburger menu appear on smaller devices, such as

@media screen and (max-width: 768px) { .... { } }

0
Mehtaz Afsana Borsha
Mehtaz Afsana Borsha
Accepted Answer
Support Agent 2 years ago #123768

Then please give me your site URL. I need to check.

0
Pavel
Pavel
Accepted Answer
2 years ago #123791

Hi Ludwig.

Try this code

@media (min-width: 768px) {
    .sp-megamenu-parent {
        display: block !important;
    }
    #offcanvas-toggler {
        display: none !important;
    }
}
0
LA
Ludwig Alberter
Accepted Answer
2 years ago #123813

Hi Pavel,

many thanks for trying to help. I should have mentioned, that I'm using a 3rd party template, which is based on Helix Ultimate, but obviously uses different styling options. But your input gave me the right hints where to look at and I could figure it out for myself. Here is the solution, in case somebody searches here for the same issue:

@media (max-width: 767px) { 
    .uk-hidden\@m { display: block !important; }
    .uk-visible\@m { display: none !important; } 
    }
@media (min-width: 768px) {
    .uk-hidden\@m { display: none !important; }
    .uk-visible\@m { display: block !important; }
    }
0