• Resolved anti89

    (@anti89)


    Hello,

    I have a problem when i activate the elementor it change my mobile menu text color.

    How can i disable this? It must use the theme color settings from the mobile menu.

    This is the element:

    .elementor-kit-5209 a {
    color: #f14668;
    }



    Thanks for the reply!

Viewing 1 replies (of 1 total)
  • Plugin Support Milos

    (@miloss84)

    If Elementor is overriding your mobile menu text color, you can try the following solutions:

    1. CSS Specificity: Increase the specificity of your mobile menu text color CSS to make sure it takes precedence over Elementor’s styles. For example, if Elementor uses .elementor-kit-5209 a, make your rule more specific:cssCopy codebody .elementor-kit-5209 a { color: #your-desired-color; }
    2. Use !important: Add !important to your CSS rule. This will forcefully prioritize your rule:cssCopy code.elementor-kit-5209 a { color: #your-desired-color !important; } Note: Overusing !important is generally not recommended as it can make your CSS harder to manage.
    3. Check Theme Settings: Make sure to check your theme settings for mobile menu text color. Some themes allow you to set specific colors for different elements, including mobile menus. If that’s the case, adjust the color directly in the theme settings.
    4. Custom JavaScript: If none of the above solutions work, you might need to use custom JavaScript to override Elementor’s styles dynamically. This would involve adding a script to your site that runs after Elementor has loaded, and it would change the styles to what you desire.Example using jQuery:javascriptCopy codejQuery(document).ready(function($) { $('.elementor-kit-5209 a').css('color', '#your-desired-color'); });

    Remember to replace #your-desired-color with the actual color code you want. If the issue persists, you may need to consult Elementor’s support or documentation for specific guidance related to your theme and Elementor integration.

Viewing 1 replies (of 1 total)
  • The topic ‘Mobile menu text color’ is closed to new replies.