On mobile screen, how to change the background color of the drop-down menu? - Acme Themes

Best Premium and Free Responsive WordPress Themes Forums Corporate Plus On mobile screen, how to change the background color of the drop-down menu?

Tagged: 

This topic contains 1 reply, has 2 voices, and was last updated by  acmesupports 2 years, 5 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #6316

    Tzu-hao
    Participant

    the default background of the drop-down menu is transparent, and it causes texts overlapping…

    I’d like the background color of the drop-down menu always be black (even before I move down the page).

    How to do it? Thanks!

    #6326

    acmesupports
    Moderator

    Hello Tzu-hao,
    Thank you so much for your question. You have to write some custom CSS code to make background black.

    @media only screen and (max-width: 500px) {
        .main-navigation ul ul{
          color: #000000;
      }
    }
    

    Add the above CSS codes on Customize > Layout/Design Options > Custom CSS
    Note: Child Theme is recommended to customize theme.
    Warm Regards,
    Acme Supports

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘On mobile screen, how to change the background color of the drop-down menu?’ is closed to new replies.