Kunena Menu
Additional icons in mobile menu
9 years 8 months ago #40483
by trevorsm
Additional icons in mobile menu was created by trevorsm
Please Log in or Create an account to join the conversation.
9 years 8 months ago #40488
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic Additional icons in mobile menu
Hi
Actually I have no solution to do that and I have not tried yet
CEd
Actually I have no solution to do that and I have not tried yet
with javascript ?I tried adding them in a div inside the mobilebarmaximenuck
CEd
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.
9 years 7 months ago #40831
by trevorsm
Replied by trevorsm on topic Additional icons in mobile menu
Hi CEd
If I created my own mobile button how can I use it to call out the mobile menu?
Best regards
Trevor
If I created my own mobile button how can I use it to call out the mobile menu?
Best regards
Trevor
Please Log in or Create an account to join the conversation.
9 years 7 months ago #40833
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic Additional icons in mobile menu
Hi
in the maximenu mobile plugin options you can set the design of the menu, and set the images for it
you can also use your own css rules if you prefer
CEd
in the maximenu mobile plugin options you can set the design of the menu, and set the images for it
you can also use your own css rules if you prefer
CEd
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.
9 years 7 months ago #40839
by trevorsm
Replied by trevorsm on topic Additional icons in mobile menu
Hi CEd
I managed to get it working by creating a link:
<a href="#" onclick="openMenu();"> <span class="fa fa-bars"></span> </a>
And adding a script:
<script>
function openMenu() {
document.getElementById("maximenushopwide-mobilebarmaximenuck").click();
}
</script>
And some css to move things into position.
Not very elegant but it seems to work.
Best regards
Trevor
I managed to get it working by creating a link:
<a href="#" onclick="openMenu();"> <span class="fa fa-bars"></span> </a>
And adding a script:
<script>
function openMenu() {
document.getElementById("maximenushopwide-mobilebarmaximenuck").click();
}
</script>
And some css to move things into position.
Not very elegant but it seems to work.
Best regards
Trevor
The following user(s) said Thank You: ced1870
Please Log in or Create an account to join the conversation.
9 years 7 months ago #40845
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic Additional icons in mobile menu
Hi
this is a solution, a bit specific but it works and I don't see any problem with that
CEd
this is a solution, a bit specific but it works and I don't see any problem with that
CEd
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.
Time to create page: 0.197 seconds




