Plugin Support
Dhruv
(@dpandya)
Hello @umbrellacover,
Thanks for reaching out and for your kind words! We’re glad you’re enjoying our plugin. I can certainly help you with that.
To change the background color of the mobile submenu, you’ll need to add some custom CSS. Here is the code that will help you achieve this.
CSS
@media only screen and ( max-width: 767px ) {
nav.hfe-dropdown .menu-item a.hfe-sub-menu-item {
background-color: #0000FF !important;
}
}
How to Add the CSS
You can easily add this code to your WordPress site by following these steps:
- From your WordPress dashboard, go to Appearance > Customize.
- In the Customizer, find the “Additional CSS” tab and click on it.
- Paste the code into the text area.
- Click the “Publish” button to save your changes.
This code uses a media query to ensure the background color change only applies to devices with a screen size of 767 pixels or less (typically mobile devices). You can change the hex code #0000FF to any color you prefer.
I hope this helps you get the look you need for your site’s mobile menu!
Best Regards,
Dhruv
Plugin Support
Dhruv
(@dpandya)
Hello @umbrellacover,
Just checking in to see if the CSS solution shared above worked for you. Since we haven’t heard back, I’ll go ahead and mark this thread as resolved for now.
If you still face any issues or need further assistance, please feel free to open a new thread. We’ll be happy to help.
Best regards,
Dhruv