Mobile Menu Not Showing - Question | JoomShaper

Mobile Menu Not Showing

RS

Rich Stewart

Helix Framework 1 month ago

I am unable to get the mobile menu to display on my template (agentik) setup.

https://knockoutinc.com/rab-new-6/index.php

0
11 Answers
Rashida Rahman
Rashida Rahman
Accepted Answer
Support Agent 1 week ago #230315

Hi,

Thanks for reaching out.

You can override the off-canvas menu background color by adding the following CSS to your Custom CSS field or custom.css file:

.offcanvas-menu {
    background-color: orange;
}

Also, it is not recommended to edit template.css directly, as your changes will be overwritten each time the template is updated. Please keep all your custom CSS changes within the Custom CSS field of the template or in the custom.css file.

For more information, please refer to the documentation below:

https://www.joomshaper.com/documentation/helix-framework/custom-code-css-js-meta

Best regards,

0
Rashida Rahman
Rashida Rahman
Accepted Answer
Support Agent 1 month ago #226108

Hi there!

Thanks for reaching out.

I have replaced the Top2 module position with the Logo module position and added the required CSS classes there. You will find a screenshot in the hidden content section for reference.

For a better header layout, I recommend using the Menu and Logo module positions. Please refer to the documentation below:

https://www.joomshaper.com/documentation/helix-framework/custom-header

You may still need to make a few additional adjustments to fine-tune the layout, but the off-canvas menu is now visible in the mobile view.

Please check it on your end and let me know if you need any further assistance.

Best regards,

Rashida

0
RS
Rich Stewart
Accepted Answer
1 month ago #226110

That's great, thank you so much, I was able to make some adjustments to get it to display how I want it to look. -Rich

0
RS
Rich Stewart
Accepted Answer
1 month ago #226112

One more question, how do I control the width trigger that switches from the main menu to the hamburger menu?

0
Rashida Rahman
Rashida Rahman
Accepted Answer
Support Agent 1 month ago #226187

Hi Rich,

Glad that I could help and you are always welcome:)

Please check below tips for menu switching controls:

https://www.joomshaper.com/documentation/helix-framework/customization-tips#span-class-h3-how-to-show-offcanvas-menu-sooner-span

Best regards,

0
RS
Rich Stewart
Accepted Answer
3 weeks ago #229549

Thank you for the link. This is not working for me on the off-cvanvas mobile menu.

For example: I chose to have the menu items diplayed to the left in the template options, but they are still centered.

The current page link is displayed in black, I don't see how to change this, and when I added a change to my custom.css file it is overridden by the template style.

I also wanted do the sub-menu items displayed on the off-canvas menu when you open. So the menu would be expanded. I tried adding the CSS to my custom file according to the instructions at the link that you sent (Offcanvas Menu: How to display all submenu items (expand all), but it does not work.

0
Rashida Rahman
Rashida Rahman
Accepted Answer
Support Agent 2 weeks ago #229766

Hi,

Please check your offcanvas menu now. It is left-aligned, and the submenu items are displaying correctly.

I added the following CSS snippet to your custom.css file, which resolves the issue:

https://cleanshot.com/share/CzkDcv6F

Please let us know if everything looks good on your end.

Best regards,

0
RS
Rich Stewart
Accepted Answer
2 weeks ago #229821

Thank you!

The current page menu item on the off-canvas menu is displayed in black, I don't see how to change this, and when I added a change to my custom.css file it is overridden by the template style below.

.offcanvas-menu .offcanvas-inner>.sp-module:has(ul.mod-menu) ul.menu>li .menu-child>li.current>a { color: #000 !important; }

I tried changing in template.css, but it seems to revert back to #000. I cannot figure out where this color value is stored?

0
RS
Rich Stewart
Accepted Answer
1 week ago #230385

Thank you, I added this to Custom Code on template option and it worked:

.offcanvas-menu .offcanvas-inner>.sp-module:has(ul.mod-menu) ul.menu>li .menu-child>li.current>a { color: #fff !important; }

0
Rashida Rahman
Rashida Rahman
Accepted Answer
Support Agent 1 week ago #230524

Hi,

Glad to know that and you are always welcome:)

You may accept the most useful answer in order to close the post.

Have a nice day!

0
Rashida Rahman
Rashida Rahman
Accepted Answer
Support Agent 1 week ago #230621

Thanks for accepting the answer and have a nice day!

0