Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1328137
    newskywebsites
    Participant

    Hi there, I have an old school customer that doesn’t think people know what the “hamburger” menu indicates 🙂 I’ve seen sites where there is a button that says “MENU” on mobile instead of the hamburger menu. Is that possible with X?

    Site: http://vitalgreen.newskywebsites.com/

    Latest version of everything.

    Thanks!
    Dawn

    #1328279
    Prasant Rai
    Moderator

    Hello Dawn,

    Thanks for writing in!

    You can add this under Custom > CSS in the Customizer:

    [data-x-icon]:before, [class*="x-icon-"]:before {
        content: "Menu" !important;
        
    }
    #1328754
    newskywebsites
    Participant

    That worked really nice for changing the hamburger menu to the word “menu” but it also added the word “Menu” over my social media icons in the top bar. See video: http://screencast-o-matic.com/watch/cbVIIRQCUe

    Hoping for a fix?

    Thanks!!
    Dawn

    #1328961
    Joao
    Moderator

    Hi Dawn,

    This code instead:

    
    .x-btn-navbar .x-icon-bars:before {
    	content: "MENU";
    }

    Thanks

    Joao

    #1328964
    Joao
    Moderator

    Hi Dawn,

    This code instead:

    
    .x-btn-navbar .x-icon-bars:before {
    	content: "MENU";
    }

    Thanks

    Joao

    #1329264
    newskywebsites
    Participant

    Thank you! That worked! However, the text is in a clashing font with the site. Can it use the default font for the site site in the customizer? In this case, that’s google font Signika.

    Thanks!!
    Dawn

    #1329525
    Friech
    Moderator

    Yeah sure, please tweak Joao’s code a bit.

    .x-btn-navbar .x-icon-bars:before {
    	font-family: "Signika",sans-serif;
    	content: "MENU";
    }

    Cheers!

    #1332347
    newskywebsites
    Participant

    Thank you! That’s perfect!
    Dawn

    #1332360
    newskywebsites
    Participant

    I added some CSS to center the menu when it wraps, but I can’t figure out how to add padding between the logo and the MENU button on a phone. See screenshot.

    Can you look at my CSS and tell me what I need to add/edit? THANKS!!

    /* word menu instead of hamburger menu on mobile */
    .x-btn-navbar .x-icon-bars:before {
    font-family: “Signika”,sans-serif;
    content: “MENU”;
    }

    @media (max-width: 700px) {
    .x-btn-navbar, .x-btn-navbar.collapsed {
    font-size: 15px;
    width: 65px;
    text-indent: 2px;
    padding: 10px;
    float: none !important;
    clear: both;
    margin: 20px auto;
    }
    }

    #1332372
    Joao
    Moderator

    Hi There,

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

    @media (max-width: 769px) {
    .x-brand {
        margin-bottom: 20px;
    }}

    Thanks

    Joao

    #1332386
    newskywebsites
    Participant

    OUTSTANDING SUPPORT!! Thanks so very much!!
    Dawn

    #1332509
    Joao
    Moderator

    You are welcome 🙂 Thanks for the kind words.

    Joao

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