The Easter Sale is on! Join now or renew your subscription with a 25% OFF! Read More

Support Forum

Gadhets offcanvas help

Filippos
Filippos
Offline
Hi,

I have set the canvas in the gadget particle but it doesn't hide the gantry's default offcanvas toggler.
is like the following code not firing.
    {% if particle.display.offcanvas %}
{{ parent() }}
<style type="text/css">
@media (min-width: {{ gantry.config.get('styles.breakpoints.mobile-menu-breakpoint')|default('48rem') }}) {
.g-offcanvas-toggle {
display: none !important;
}
}
</style>


I also have another problem but this happens even if I enable the offcanvas button on the gadgets or not. When clicking the offcanvas button, the offcanvas is showed and then hiding again.

Thank you
Responses (8)
Sorry, but you are not allowed to view the replies here.
Your Reply

Become an insider | Subscribe to our Newsletter
Subscribe to our mailing list and stay up-to-date with all our awesome releases, latest updates and amazing discount offers!