Mobile menu, change font color

Asked

Viewed 76 times

0

I can’t change the font color in mobile mode, it turns white, and if I change the CSS to white it changes from the site, follows the menu code.

#advanced_menu_toggle, #advanced_menu_hide {
    position: absolute;
    border-radius: 2px;
    height: 46px;
    width: 46px;
    line-height: 46px;
    text-decoration: none;
    text-align: center;
    right: 0;
    top: 15%;
    color: #000000 !important;
    margin-top: -5px;
    z-index: 10000;
    border-style: solid;
    border-width: 1px;
    font-size: 30px;
    display: none;
}

1 answer

0

Make sure you’re applying the color to the tag <a href... from the menu, this is where it should be applied.

Provided that this element of id #advanced_menu_toggle is applied in a <ul>, it would be like that:

#advanced_menu_toggle li a {
  color: #000000;
  ...
}

If the color changes in 'desktop mode' too, you should use the media queries.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.