• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Menu text hamburger icon

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › Menu text hamburger icon

This topic is: not resolved

Tagged: mobile menu

  • This topic has 8 replies, 5 voices, and was last updated 10 years, 3 months ago by Amol.
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • May 16, 2015 at 2:49 am #152380
    gversion
    Member

    Hello,

    I would like to be able to add the text "MENU" next to the hamburger menu icon that is displayed on mobile devices.

    I have tried the CSS below but the "MENU" text is not displayed on the same line as the icon.

    <div class="responsive-menu-icon" style="
        float: right;
        width: 100%;
    "><span class="float:left;">MENU</span></div>

    Could someone please give me a hand?

    Thank you,
    Greg

    May 16, 2015 at 6:40 am #152388
    SavvyJackie
    Member

    Hi,
    Check your stylesheet and see if you can find the .responsive-menu-icon::before selector and try adding the word MENU just before the hamburger icon code. In this example, we are using dashicons, if you are using font-awesome the hamburger code may be different.

    .responsive-menu-icon::before  {
    content: "MENU \f333";
    }

    Web Designer and Developer at Savvy Jackie Designs | Lucky with plants | @SavvyJackie

    Got your question answered here? Please pay it forward by helping someone else. I’m sure there is at least one question you can answer. 🙂

    May 16, 2015 at 6:49 am #152389
    gversion
    Member

    Hi,

    Thanks for the reply. That was easier than I was expecting!

    Any idea how I can control the font style of the word "MENU" without changing the hamburger menu icon?

    Thanks again, really appreciate it.

    Regards,
    Greg

    May 16, 2015 at 7:09 am #152391
    SavvyJackie
    Member

    I am not sure, but I would think not without coding it manually in the responsive-menu.js file. You'd have to wrap that 'MENU' word in a separate SPAN tag to style it.


    Web Designer and Developer at Savvy Jackie Designs | Lucky with plants | @SavvyJackie

    Got your question answered here? Please pay it forward by helping someone else. I’m sure there is at least one question you can answer. 🙂

    May 16, 2015 at 7:15 am #152392
    gversion
    Member

    Ok, thanks. I will try and select it using jQuery. I will post my solution if I find one.

    Regards,
    Greg

    July 4, 2015 at 6:29 pm #158375
    zomidaily
    Member

    Hi @SavvyJackie
    Thanks for pointing out the location. I did add the word MENU, but it seems that the alignment is not same as the icon screenshot: http://prntscr.com/7owjbc Any idea how to correct it?

    Regards,
    Joseph

    July 5, 2015 at 1:06 am #158387
    Amol
    Participant

    Hello,

    Put the following code in your global.js file
    $( '.nav-primary .genesis-nav-menu, .nav-secondary .genesis-nav-menu' ).addClass( 'responsive-menu' ).before('<div class="responsive-menu-icon"><span class="menu-text">Menu</span></div>');

    add following code to your css
    .menu-text {
    color: #fff;
    line-height: 1;
    vertical-align: top;
    margin-top: 3px;
    margin-left: 5px;
    display: inline-block;
    }

    I hope this solves your issue.

    Warmest


    What’s Beneath the Webface

    November 12, 2015 at 3:11 pm #170922
    bvaneijden
    Member

    Kleverk, where can I find the global.js file? It seems not to be there for me.

    I am using the Magazine Pro theme and in the "js" folder there is something called "responsive-menu.js". Is this the correct one?

    November 12, 2015 at 11:59 pm #170967
    Amol
    Participant

    Hello,

    Responsive-Menu.js is different file.

    Take backup of your website first before creating global.js file

    Paste this code in that js file

    $( ‘.nav-primary .genesis-nav-menu, .nav-secondary .genesis-nav-menu’ ).addClass( ‘responsive-menu’ ).before(‘<div class=”responsive-menu-icon”><span class=”menu-text”>Menu</span></div>’);

    Hope it helps.


    What’s Beneath the Webface

  • Author
    Posts
Viewing 9 posts - 1 through 9 (of 9 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2026 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble