• 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

Adding hamburger menu back to mobile screens

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 › Adding hamburger menu back to mobile screens

This topic is: not resolved

Tagged: menu, responsive

  • This topic has 7 replies, 2 voices, and was last updated 10 years, 9 months ago by Marcy.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • September 11, 2014 at 5:13 pm #124053
    relaxedguy
    Member

    When I first installed Magazine Pro, navigation on the iphone was handled by the horizontal-lined "hamburger" icon. Now that icon is gone and I'd like to figure out how to get it back.

    I have a few CSS tweaks in place, but I did a compare and I haven't changed any of the @media only screen and (max-width: 1023px).

    I would like to add a missing menu back to the (max-width: 768px)layout as well. I guess what I'm asking for is an explanation of how things like sidebars are moved to the bottom of the page on smaller screens and navigation is either displayed and then hidden at smaller screen sizes.

    Thank you so much.

    http://onlinedatingpost.com
    September 12, 2014 at 3:37 pm #124165
    Marcy
    Participant

    It looks to me like your CSS is using
    .responsive-menu-icon

    Try using:
    #responsive-menu-icon
    instead.


    Marcy | Amethyst Website Design | Twitter

    September 13, 2014 at 11:48 am #124258
    relaxedguy
    Member

    Searching for .responsive-menu-icon I see three locations:

    Should I change all of them to #responsive-menu-icon ?

    .responsive-menu-icon {
    	cursor: pointer;
    	display: none;
    	margin-bottom: -1px;
    	text-align: center;
    }
    
    .responsive-menu-icon::before {
    	content: "\f333";
    	display: inline-block;
    	font: normal 20px/1 'dashicons';
    	margin: 0 auto;
    	padding: 10px;
    }
    
    .site-header .responsive-menu-icon::before {
    	padding: 0;
    }
    
    .genesis-nav-menu.responsive-menu .menu-item,
    	.responsive-menu-icon {
    		display: block;
    	}
    September 13, 2014 at 2:18 pm #124268
    Marcy
    Participant

    OK.
    Info:
    It looks to me like you updated your style.css, but not your responsive-menu.js.

    The latest Magazine Pro theme Updated: 8/2/14
    adds
    <div class="responsive-menu-icon"><div>
    using
    /wp-content/themes/magazine-pro/js/responsive-menu.js

    When I look at your source code, I see this:
    <div id="responsive-menu-icon"></div>
    Note the difference between "id" and "class"

    So, two choices:
    1. You can replace your /wp-content/themes/magazine-pro/js/responsive-menu.js
    with the one from the 8/2/14 theme update.

    OR
    2. You can leave your .js the same as it is.
    But then look in your current style.css and replace
    each instance of
    .responsive-menu-icon
    with
    #responsive-menu-icon
    everywhere you find it.

    Some in the navigation section and some in the @media section


    Marcy | Amethyst Website Design | Twitter

    September 13, 2014 at 5:15 pm #124284
    relaxedguy
    Member

    Thank you for these suggestions. I updated the responsive-menu.js file.

    I compared my styles.css and functions.php with fresh copies, they are almost identical (I made a few small tweaks).

    Now the issue is that the hamburger doesn't show up in the navigation area at mobile sizes. I can click the dark band across the page and the menu opens downward correctly. But with no hamburger icon, not clear how to get to the menu.

    September 13, 2014 at 6:15 pm #124287
    Marcy
    Participant

    It's there; it's just not white. 🙂

    Find this code:

    .responsive-menu-icon::before {
    	content: "\f333";
    	display: inline-block;
    	font: normal 20px/1 'dashicons';
    	margin: 0 auto;
    	padding: 10px;
    }

    and add
    color: #fff;
    to it.


    Marcy | Amethyst Website Design | Twitter

    September 15, 2014 at 7:53 am #124495
    relaxedguy
    Member

    That fixed it, thank you. It's strange that my default install style.css has different settings than what people are mentioning here. It didn't have the color: #fff; for example.

    September 15, 2014 at 10:02 am #124514
    Marcy
    Participant

    That's great that your menu is working now!


    Marcy | Amethyst Website Design | Twitter

  • Author
    Posts
Viewing 8 posts - 1 through 8 (of 8 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

© 2025 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