• 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

Make menu's responsive like twitterbootstrap

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 › Make menu's responsive like twitterbootstrap

This topic is: resolved

Tagged: Bootstrap, menu, responsive

  • This topic has 4 replies, 3 voices, and was last updated 11 years ago by iamkingsleyf.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • December 9, 2013 at 4:21 am #77806
    aegis
    Member

    I'm trying to customize the theme Jane I bought. I want to change the menu's so they are responsive like in Twitter Bootstrap or . I have found post http://wordpress.stackexchange.com/questions/58377/using-a-filter-to-modify-genesis-wp-nav-menu which shows me how to override the genesis_do_nav and genesis_do_subnav functions.

    Now I want to change the code it outputs to match the twitter bootstrap style like . I already have

    /* Custom Code */
    // ENQUEUE SCRIPS & STYLES FOR BOOTSTRAP
    add_action('genesis_before_header', 'responsive_nav');
    function responsive_nav() {
    	wp_register_style( 'bootstrap-css', get_stylesheet_directory_uri() . '/css/bootstrap.css');
    	wp_enqueue_style( 'bootstrap-css' );
    	wp_register_script( 'bootstrap-js', get_stylesheet_directory_uri() . '/js/bootstrap.min.js', array('jquery'), false, true );
    	wp_enqueue_script( 'bootstrap-js' );
    }
    
    // FILTER NAV TO HAVE BOOTSTRAP NECESSARY MARKUP
    //add_filter( 'genesis_do_subnav', 'override_do_nav', 10, 3 );
    function override_do_nav($nav_output, $nav, $args) {
    	
    }

    $nav_output is an array
    $nav contains the html code for showing the menu.
    $args contains an array with classes and context to build the menus

    can anyone help me with this?


    http://pixplicity.com

    http://responsive-bootstrap-menu
    December 9, 2013 at 6:22 am #77815
    Sridhar Katakam
    Participant

    There are several tutorials on how to get a hamburger mobile nav menu going in Genesis.

    Here's one: http://youneedfat.com/genesis-responsive-design-menu/


    Genesis Tutorials | Follow me on Twitter

    December 9, 2013 at 7:12 am #77822
    aegis
    Member

    Ah nice maybe ill try this instead.


    http://pixplicity.com

    December 10, 2013 at 8:03 am #78029
    aegis
    Member

    I found a good blog describing it
    bradpotter.com create a responsive mobile menu


    http://pixplicity.com

    June 10, 2014 at 12:12 am #108717
    iamkingsleyf
    Member

    Thanks just what I was looking for.

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