Additional icons in mobile menu

More
9 years 8 months ago #40483 by trevorsm
Hi

I have been asked to add some icons to the mobile menu something like this:



I tried adding them in a div inside the mobilebarmaximenuck div but when clicked they just expand the menu.
Is there a way of achieving this?

Thanks
Trevor

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

More
9 years 8 months ago #40488 by ced1870
Hi
Actually I have no solution to do that and I have not tried yet

I tried adding them in a div inside the mobilebarmaximenuck

with javascript ?

CEd

Joomlack Webmaster and Developer

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

More
9 years 7 months ago #40831 by trevorsm
Hi CEd

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.

More
9 years 7 months ago #40833 by ced1870
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

Joomlack Webmaster and Developer

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

More
9 years 7 months ago #40839 by trevorsm
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
The following user(s) said Thank You: ced1870

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

More
9 years 7 months ago #40845 by ced1870
Hi
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

Fast and powerful creation, customizable and responsive.

Read More

We have 1288 guests and one member online