Font Color in Main Menu with Submenu

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #325882
    Jonas
    Guest

    I want to change the text color in my main menu. I managed to do it with that code:
    .sf-menu * {
    color: orange !important;
    }
    .sf-menu *:hover {
    color: yellow !important;
    }

    The Problem ist that I have a submenu in my Menu. At the background of the submenu is orange. So the text cannot be seen until hovered. I want the text in the submenu to remain white.

    Thanks,
    Jonas

    #326703
    J. Davis
    Keymaster

    Hi Jonas,

    1. You can set the color for your submenu via Appearance > Customize > Colors. It will edit the color of your buttons too.
    2. You can also add the styles below to your Child theme:

    .sf-menu ul a{
    background:#4b7390;
    border-top:none;
    }

    Best regards,
    John

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.