Change Menu Background Colour

Discussion in 'BlackBird WordPress Theme' started by amaconline, Dec 26, 2013.

  1. amaconline

    amaconline Member

    Joined:
    Feb 17, 2013
    Messages:
    217
    Likes Received:
    6
    Hi, how do I change the menu colour on Responsive state? And also is it possible to change the width of the menu to 100% on mobile view?

    Thank you.
     
  2. Piyush

    Piyush Support Staff

    Joined:
    Dec 8, 2012
    Messages:
    4,745
    Likes Received:
    107
    Hello,

    To change the color of menu in mobile devices,
    Paste the code given below in Custom CSS section
    (Appearance -> Theme Options -> Styling Options -> Custom CSS) of your dashboard.

    Code:
    .mobile_nav.opened {
    background: orange;
    }
    .it_mobile_menu li {
    background: orange;
    }
    .it_mobile_menu li:hover {
    background: white;
    }
    .it_mobile_menu a {
    color:white;
    }
    .it_mobile_menu > li.current_page_item > a {
    color: red;
    }
    .it_mobile_menu li a:hover{
    color:red;
    } 
    In place of "orange", "white" and "red" you can put your color or color code.

    To change the width of menu in mobile devices,
    Paste the code given below in Custom CSS section
    (Appearance -> Theme Options -> Styling Options -> Custom CSS) of your dashboard.

    Code:
    @media only screen and (max-width: 480px){
    .menu_wrapper {
    margin-left: -15px;
    width: 320px;
    }
    .mobile_nav {
    width: 235px;
    margin-bottom: 0;
    margin-top: 4px;
    margin-left: 8px;
    }
    #mobile_menu {
    width: 303px;
    }
    } 
    This will solve your issue.
     
    amaconline likes this.

Share This Page