Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1241167
    rok1975
    Participant

    Hi,

    is it possible to change the responsive menu icon/text-combination (closed.png) to another menu icon/text-combination (open.png)?

    Thanks

    Best
    Tobi

    #1241416
    Joao
    Moderator

    Hi There,

    Please add the following code to Appereance > Customizer > Custom > CSS

    .x-btn-navbar.collapsed .x-icon-bars:before {
    content: "Open";
    }
    
    .x-btn-navbar .x-icon-bars:before {
    content: "Close";
    }

    Hope it helps

    Joao

    #1242102
    rok1975
    Participant

    Hey,

    sometimes i think to complicated thanks. 😀

    One last question, is it possible to change the icon for “open” for example an arrow-down and for “close” an arrow-up? I hope you know what i mean.

    Thanks

    Best
    Tobi

    #1242130
    Lely
    Moderator

    Hello Tobi,

    Please update above CSS to this and we need to move this now on your child theme style.css file because the slash will be remove by the customizer when you save it.

    .x-btn-navbar.collapsed .x-icon-bars:before {
    content: "\f063";
    }
    
    .x-btn-navbar .x-icon-bars:before {
    content: "\f062";
    }

    For other icon options and their unicode, you may check it here:http://fontawesome.io/icons/

    Hope this helps.

    #1242293
    rok1975
    Participant

    Hey,

    thanks but its not working plott.pixelkoenige.de it only shows a square for both icons.

    Best
    Tobi

    #1242473
    Joao
    Moderator

    Hi Tobi,

    I tested the code provided by Lely and it works,

    Would you mind sharing your URL with us?

    Thanks

    Joao

    #1242613
    rok1975
    Participant

    Hey,

    plott.pixelkoenige.de

    Thanks
    Tobi

    #1242764
    rok1975
    Participant

    Hey,

    it works.

    Thanks
    Tobi

    #1242792
    Jade
    Moderator

    You’re most welcome, Tobi.

  • <script> jQuery(function($){ $("#no-reply-1241167 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>