• 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

Altitude Pro — added "hamburger" menu to home page and it defaults to "expanded

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 › Altitude Pro — added "hamburger" menu to home page and it defaults to "expanded

This topic is: resolved

Tagged: Altitude Pro, hamburger on home page, header menu, menu collapse

  • This topic has 6 replies, 2 voices, and was last updated 8 years, 3 months ago by Christoph.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • March 14, 2017 at 2:10 pm #203106
    kvmolino
    Member

    I apologize in advance for the length of this but it will be hard to solve without the background info. My client wants her site to have a "hamburger" menu right from the homepage all the way through. Another forum member gave me the code below which works but it defaults to "expanded" status. He said this was because I had non-Genesis-standard CSS classes being used and said this was due to some other customization. He also said the code to replace was at line 1151. So I did a completely vanilla install of Genesis and Altitude Pro at another location and used his instructions but (1) the responsive menu code was nowhere near line 1151 "out of the box" and (2) the code below works when I use it to replace the /*Responsive Menu */ code EXCEPT for the default to non-collapsed status.

    From the forum responder:
    (first reply)
    "Code:The hamburger menu display is controlled entirely by CSS. All you have to do is move the CSS that displays the hamburger out of the media query and into the main styles. Edit style.css and around line 1151, replace the responsive menu CSS with this:"

    /* Responsive Menu
    --------------------------------------------- */

    .genesis-nav-menu.responsive-menu {
    display: none;
    float: none;
    padding-bottom: 20px;
    }

    .responsive-menu-icon {
    cursor: pointer;
    display: block;
    margin-bottom: 10px;
    text-align: center;
    }

    .responsive-menu-icon::before {
    color: #fff;
    content: "\f333";
    font: normal 24px/1 "dashicons";
    margin: 0 auto;
    }

    .nav-secondary .responsive-menu-icon {
    margin: 10px auto 0;
    }

    Second reply when I told forum member it didn't work:
    "When I look at your source code, I see CSS classes that are not coming from Altitude Pro. There is a class named genesis-mobile-nav. Do you have some kind of plugin installed? The code I gave you is for Altitude Pro out of the box."

    So now I have added the code to a clean install out of the box. As I said, all is PERFECT except the menu selection box should be collapsed when you hit the site, not yet expanded to show the menu items -- we want to leave that choice up to the visitors. ANY ideas would be greatly appreciated!!!

    http://kristamolino.com
    March 20, 2017 at 2:47 pm #203495
    Christoph
    Member

    Hi,

    with the latest update of Altitude Pro, some class names have changed.

    Try replacing

    .genesis-nav-menu.responsive-menu

    with
    .genesis-responsive-menu


    https://www.christophherr.com | Genesis Customizations | Buy me a coffee

    March 21, 2017 at 7:02 am #203529
    kvmolino
    Member

    Thanks SO much for your reply! I thought this one was dead in the water. So I would add the CSS above as-is EXCEPT for the .genesis-responsive-menu?

    Also I'm curious...do you happen to know how long ago the update issued? I just downloaded the Altitude Pro theme about 2 months ago.

    March 21, 2017 at 11:31 am #203561
    kvmolino
    Member

    OK, so, yes changing that class name keeps the hamburger menu (when the site is full size, on a computer screen) from opening in its active state. But now it doesn't show the menu at all, active or inactive. Maybe I just have to give up on this one!

    March 21, 2017 at 1:04 pm #203574
    Christoph
    Member

    Hi,

    Yes, exactly.

    You can see when the theme was last updated on the downloads page.
    A lot of themes where updated with the launch of Studiopress Sites at the end of January.

    The website you linked to doesn't have the changed code so I don't know what you are seeing.


    https://www.christophherr.com | Genesis Customizations | Buy me a coffee

    March 21, 2017 at 2:28 pm #203588
    kvmolino
    Member
    This reply has been marked as private.
    March 21, 2017 at 8:08 pm #203611
    Christoph
    Member

    Only you and moderators / admins of this forum can see posts/responses that you mark as private.


    https://www.christophherr.com | Genesis Customizations | Buy me a coffee

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