• Hi, I want to change the menu icon with three bars of the mobile version. I would like to replace it with a simple text MENU. colored text in bold

    Thank you

    site pavimentimoderni.it

Viewing 8 replies - 1 through 8 (of 8 total)
  • Try this, to be added in your child theme’s custom CSS:

    @media (max-width:480px) {
    .navbar .btn-toggle-nav.hover .icon-bar {
        background-color: rgba(0,0,0,0) !important;
    }
    .btn-toggle-nav .btn.menu-btn.collapsed:before {
        content: "Menu";
        font-style: normal;
        font-weight: bold;
        font-variant: normal;
        line-height: 1;
        position: relative;
        font-size: 20px;
        display: block;
        top: 5px;
        text-align: center;
        color: #000;
    }
    }

    Adjust as you’d like!

    Thread Starter mercurio32

    (@mercurio32)

    Hello and thanks!
    I entered the code but nothing has changed. Remains the menu icon.

    Try this instead:

    @media (max-width:979px) {
    .navbar .btn-toggle-nav .icon-bar {
        background-color: rgba(0,0,0,0) !important;
    }
    .btn-toggle-nav .btn.menu-btn:before {
        content: "Menu";
        font-style: normal;
        font-weight: bold;
        font-variant: normal;
        line-height: 1;
        position: relative;
        font-size: 20px;
        display: block;
        top: 5px;
        text-align: center;
        color: #000;
    }
    }
    Thread Starter mercurio32

    (@mercurio32)

    I included all the various codes but nothing changes. I always have three bars like I have not set any code.
    Menaka, as you can see in the article I asked for help commenting, but you answered just you telling me to open a help request here ..

    Thread Starter mercurio32

    (@mercurio32)

    As it will be then another chaos to change font, font size, etc.
    How do I insert a small personalized icon.png instead of the menu text?

    Ah, you mean that you want to remove the three-bar itself?
    Add this to your child theme’s style.css

    .navbar .btn-toggle-nav .icon-bar {
        display: none;
    }

    In addition, from the customiser, go to Header->Navigation Menus, under Main menu design, check against
    Display a label next to the menu button.

    Hope this helps.

    Thread Starter mercurio32

    (@mercurio32)

    Ok thanks, and to add a custom icon for example 25px x 25px

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Change menu icon of three bars with text’ is closed to new replies.