Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1022196
    GhostWhale
    Participant

    Hi all,

    Is it possible to replace the search icon in the menu bar with text that says ‘SEARCH’ with the same formatting of course as other menu items?

    #1022199
    GhostWhale
    Participant
    This reply has been marked as private.
    #1022421
    Joao
    Moderator

    Hi There,

    Please add the following code to Appereance Customizer Custom CSS

    
    a.x-btn-navbar-search:before {
        content: "SEARCH";
        padding: 3px;
    }

    Adjust the padding according to your needs.

    Hope that helps,

    Joao

    #1022422
    Joao
    Moderator

    Hi There,

    Please add the following code to Appereance Customizer Custom CSS

    
    a.x-btn-navbar-search:before {
        content: "SEARCH";
        padding: 3px;
    }

    Adjust the padding according to your needs.

    Hope that helps,

    Joao

    #1025382
    GhostWhale
    Participant

    Thanks Joao,

    That’s great, nearly there. This adds the word search but does not remove the icon. Is there a way of removing the icon so there is just the word “search”?

    #1025605
    Thai
    Moderator

    Hi There,

    Please add the following CSS:

    li.menu-item.x-menu-item.x-menu-item-search i,
    .x-navbar .mobile .x-nav>li.x-menu-item-search a:before {
        display: none;
    }

    Hope it helps 🙂

    #1025670
    GhostWhale
    Participant

    Perfect. Thanks

    #1026262
    Christopher
    Moderator

    You’re welcome.

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