Offcanvas: Position Beneath Menu - Question | JoomShaper

Offcanvas: Position Beneath Menu

J

jpberry

Helix Framework 3 years ago

In order to have a fluid with menu on https://clef-des-champs.ch/ I had to create a custom header instead of the predefined header. But since then the offcanvas menu on https://clef-des-champs.ch/ appears beneath the Menu. If I set margin-top to -105px in body.ltr #offcanvas-toggler.offcanvas-toggler-right the offcanvas menu doesn't work anymore. Any ideas how I can solve this problem? Thanks and Happy New Year

0
10 Answers
Pavel
Pavel
Accepted Answer
3 years ago #509

Hi. You should adjust the column width in the template settings for different devices. (Column Grid settings)

0
J
jpberry
Accepted Answer
3 years ago #513

Thanks, that did the job!

0
J
jpberry
Accepted Answer
3 years ago #514

Thanks, that did the job.

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

Thanks Pavel, for your valuable contribution to the forum!

0
Pavel
Pavel
Accepted Answer
3 years ago #519

You are wellcome :)

0
J
jpberry
Accepted Answer
3 years ago #3606

Sorry to bother you again. I just realised that the menu on https://clef-des-champs.ch/ doesn't change in to offcanvas mode in tablet view ... Do I have to change the breakpoint or can I adapt the settings in the layout builder of my helix ultimate template?

0
Pavel
Pavel
Accepted Answer
3 years ago #3607

Hi. In bootstrap, Tablet breakpoint starts at 991 px. Everything is working correctly on your site. If you need to do it on a wider screen size, you need to write custom css code for this

0
J
jpberry
Accepted Answer
3 years ago #3636

Yes, but I want to set the breakpoint for canvas menu at 1024px already. How can I do that?

0
Pavel
Pavel
Accepted Answer
3 years ago #3671
@media (max-width: 1023px) {
    .sp-megamenu-parent {
        display: none !important;
    }
    #offcanvas-toggler {
        display: block !important;
    }
}
0
J
jpberry
Accepted Answer
3 years ago #3705

Great, thanx!

0