Staff replied Templates

off canvas break point

Asked by maisfeld 4 years ago Last activity 4 years ago

Hi,

How can I control break point for off canvas Template are Fortune
Version: 2.0.0?
Would have to switch from megamenu to off canvas at 1300px.
see picture

10 replies

Toufiq Senior Staff

Hi there,

Thanks for contacting us. Sorry for the inconvenience.Please share your site URL to check the issue. I will check & get back to you soon.

-Thanks

maisfeld Asked this

Hi Toufiq,
thank you for your message.

The website is here

regards

Toufiq Senior Staff

Add this css code inside the custom.css file.

@media screen and (max-width: 1300px) {
ul.sp-megamenu-parent.menu-animation-fade-down.d-none.d-lg-block {
    display: none !important;
}
    a#offcanvas-toggler {
    display: block !important;
} 
}
maisfeld Asked this

Hello Toufiq,

thanks for the message.
Unfortunately it does not work.
Do you have another idea?

Pavel

Hi. I think it worked, you just need to turn off the compression and clean the cache. Before any editing, always do this.

maisfeld Asked this
4 years ago · edited

Hi, thanks for the message.
Compression is turned off and I've cleared the cache several times.

Compression

Cache

it does not work.

Pavel

Ok. Now I see it is cleaned. But I do not see that you add the code provided by Toufiq anywhere.

This code should work 100%. Other options simply do not exist.

Toufiq Senior Staff

Will you please provide me the Joomla administrator access to check the issue?

maisfeld Asked this

Hi Pavel and Toufig,

you were right. I looked at the Custom CSS and somehow the script was gone.

Now it works as it should.

Thank you for your help!

Log in to reply.