Mobile menu dropdown background color
-
Hi. I’m brand new to webdev and I’m starting my first website…
I don’t know if I’m doing somthing wrong but for some reason these two are not matching in the mobile menu.

I’m under the impression that these should match but maybe I’m doing something wrong.
To not that I am using elementor but only to edit the content of the page. Not touching the header or anything with it. No custom code, no nothing.
-
Hello @satamanster,
Thank you for reaching out,
You must have a sub-menu as a dropdown to change that background color: https://ibb.co/39SS2Q81.
To change the normal background you can use the following CSS, so please put the CSS below in Customizing > Custom CSS/JS > CSS Code:
#mobile-dropdown { background: #000; }Please read this link for more information about the CSS/JS code on the customizer: https://docs.oceanwp.org/article/354-add-custom-css-and-js-to-your-website.
Note: If you have any cache plugin or server cache(CDN / Browser Cache and Cookies and …), you need to clear its cache contents or disable them to see your changes. Also, remember to click on the regenerate all assets file and data in Elementor > Tools(if you have Elementor).
I hope that helps.
Best Regards@skalanter thank you so much!
I was following a tutorial and I was under the impression that this was a top-level feature available directly from the customization menu.Well. There’s my tip right there. I think some people could benefit from it.
Another quick question, where do I find the tags for each element in order to set CSS arguments for it?
Any documentation with all objects?
Thanks.Hello @satamanster,
Thank you very much for the update and feedback.
I would forward it to the developer team to be checked and, if possible, to be added in the next updates.
To find the correct classes or IDs, you can learn how to use Chrome Developer Tools or Firefox Developer Tools to help you see and test changes to your CSS:
https://developers.google.com/web/tools/chrome-devtools/
https://developer.mozilla.org/en-US/docs/Tools
CSS Tutorial: https://www.w3schools.com/css/
For more information about media queries, please read this article:
https://www.w3schools.com/css/css_rwd_mediaqueries.aspHope it helps,
Best Regards
The topic ‘Mobile menu dropdown background color’ is closed to new replies.
