Home Forums Basel support forum How to change nav menu mobile color ?

How to change nav menu mobile color ?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #205821

    sof11
    Participant

    Hello,
    How can I change the background color of the menu to white on mobile and the text to black?
    (cf. attachment)
    Thank you

    Attachments:
    You must be logged in to view attached files.
    #205855

    Hello,

    Please add this code to the Theme Settings > Custom CSS > Global:

    body .mobile-nav {
        background-color: blue;
    }
    .mobile-nav .sub-menu-dropdown li a {
        background-color: green;
    }
    
    body .mobile-nav ul li .up-icon{
    background-color: blue;
    }
    body .mobile-nav .sub-menu-dropdown ul:before {
        color: red;
    }
    body .mobile-nav ul li.current-menu-item>a {
        color: red;
    }
    body .mobile-nav ul li a {
            color: red;
    }
    body .mobile-nav .icon-sub-menu:after, 
    body .mobile-nav .icon-sub-menu:before {
        background-color: red;
    }
    body .mobile-nav .searchform button {
        color: red;
    }
    body .mobile-nav .searchform input[type=text] {
        color: red;
    }

    Set the colors as per your needs

    Best Regards

    #205882

    sof11
    Participant

    Hello,
    Thank you,
    How can I change the hover color and the color of “rechercher des produits” (search products)?
    Thanks !

    #205954

    Hello,

    Please add this code to the Theme Settings > Custom CSS > Global:

    .mobile-nav .sub-menu-dropdown li a:hover {
        background-color: green;
    }
    body .mobile-nav ul li.current-menu-item>a:hover {
        color: red;
    }

    The placeholder may be set once for all the site.

    body .mobile-nav .searchform input[type="text"]::placeholder {
        color: red;
    }

    Best Regards

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