Following up on this, the relevant file is happy-elementor-addons/widgets/navigation-menu/widget.php
Strangely, it appears that you’ve already written the selectors that would make it work on mobile:
$this->add_control(
'nav_menu_item_color',
[
'label' => __( 'Color', 'happy-elementor-addons' ),
'type' => Controls_Manager::COLOR,
'default' => '#333333',
'selectors' => [
'{{WRAPPER}} .ha-navigation-menu-wrapper ul.menu > li > a' => 'color: {{VALUE}}',
'{{WRAPPER}} .ha-navigation-menu-wrapper ul.menu li .ha-submenu-indicator-wrap' => 'color: {{VALUE}}',
// '{{WRAPPER}} .ha-navigation-burger-menu ul.menu li a' => 'color: {{VALUE}}',
// '{{WRAPPER}} .ha-navigation-burger-menu ul.menu li .ha-submenu-indicator-wrap' => 'color: {{VALUE}}',
],
]
);
But the last two lines were commented out (by accident?), so the mobile menu’s text color is currently unable to be changed via the UI.
Hi @sitebolts,
Thanks for your query,
Yes! HappyAddons Nav Menu has no style control for the Typography especially for mobile devices.
However, we will review your request and if possible we will share a code snippet with you to change the color of the text.
We will get back here soon.
Thanks and have a nice day.
Hi @anowerhossain16 –
Just to clarify, the HappyAddons Nav Menu already has a text color control, and it works fine for changing the desktop colors.
But in the snippet shown above, it appears that you’ve commented out the lines that would make it work on mobile, which seems accidental. Perhaps that was done for testing at some point and accidentally pushed to production? It works completely fine if you uncomment those two lines.
Hi @sitebolts,
First of all, we would like to thank you for your findings and shared with us. We have fixed the text color control for Mobile devices. We will include the fix in our next release.
In the meantime, there is a fixed pack for you to complete your production. You can download the file from here.
We will release a hot fix soon. Thanks and have a nice day.
Hi @sitebolts,
Due to inactivity, we are marking this topic as resolved. Feel free to open a new one if you face any further issues.
Thanks