End of Support for Joomla 3 - Forum closed

Responsive menu also visible in normal version

Responsive menu also visible in normal version was created by Maxlamenaxme

Posted 5 years 3 months ago #24509
Hi,
I would like to display the Main Menu Offcanvas (the one that replaces the Main Menu on mobile versions) also on the normal version of the website.
It would actually replace the main menu.

In few words, I would like to get rid of the Main Menu and instead always have the responsive "offcanvas" menu even on the normal version of the website.

I tried to create a module with the following code inside :
Code:
<span><a class="uk-navbar-toggle " href="#offcanvas" data-uk-offcanvas></a></span>
and publish it in the "menu" position, but it does not work. I feel like I am close to the answer; but I am still missing something.
Could you help me with that please ?

Please Log in or Create an account to join the conversation.

Replied by joomlaplates on topic Responsive menu also visible in normal version

Posted 5 years 3 months ago #24511
Live url please

Please Log in or Create an account to join the conversation.

Replied by joomlaplates on topic Responsive menu also visible in normal version

Posted 5 years 3 months ago #24512
1.) Unpublish the main menu
2.) Add the code below to your logo module

<p style="display:inline-block" class="uk-align-center"><a class="uk-navbar-toggle" href="#offcanvas" data-uk-offcanvas></a></p>


Attachment logo-2-3-4-5-6-7-8-9-10-11-12-13-14-15-16.jpg not found

Attachments:
The following user(s) said Thank You: belex24

Please Log in or Create an account to join the conversation.

Replied by Maxlamenaxme on topic Responsive menu also visible in normal version

Posted 5 years 3 months ago #24513
Great thank you !
Unfortunately the live URL is currentlw set to offline. -> dmf-esthetique.fr
One last detail : I would like the menu to follow the scroll as in its responsive version too.

Thanks again for the fast answer !

Please Log in or Create an account to join the conversation.

Replied by joomlaplates on topic Responsive menu also visible in normal version

Posted 5 years 3 months ago #24521
Use sticky component:
getuikit.com/v2/docs/sticky.html

<div data-uk-sticky>
<p style="display:inline-block" class="uk-align-center "><a class="uk-navbar-toggle" href="#offcanvas" data-uk-offcanvas></a></p>
</div>


We are committed to help you with any type of support query, however we can't provide extensive help in terms of customizations. In general customizations may look simple but you will require solid knowledge of web technologies and programming skills to do them or hire a professional who can do it for you.

Please Log in or Create an account to join the conversation.

Replied by Maxlamenaxme on topic Responsive menu also visible in normal version

Posted 5 years 3 months ago #24525
Works like a charm !

Thank you ! Your answer actually helped me to understand more than just what I was looking for.

Solved !

Please Log in or Create an account to join the conversation.

Moderators: joomlaplates

Installations-Service

Don´t waste your time, we install your purchased Template
with the "Demo Content" within the next 24 hours.

Buy Now - 59€

Joomlaplates/Theme-Point is not affiliated with or endorsed by Open Source Matters or the Joomla! Project

Copyright © 2024 JoomlaPlates | Professional Joomla Templates with Uikit 3

Disclaimer & Privacy | License