This is searchable archive of our old support forums, which operated from 2012 - 2016. To find out how to get support for your current theme, please visit our support page.

Mobile Select for Primary Navigation

  • Creator
    Topic
  • #10079
    Wendell Harness
    Participant

    I own Swagger and have often used the feature in the Configuration tab for setting mobile navigation as a select menu. How can I do this in JumpStart?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Author
    Replies
  • #10093
    Jason Bobich
    Keymaster

    I don’t have any kind of tutorial for this, unfortunately. To create a custom menu output, you’d hook your own function “themeblvd_header_menu” —

    http://dev.themeblvd.com/tutorial/primary-framework-action-hooks/

    There’s a function in the theme you can use to output a select menu like this:

    echo themeblvd_nav_menu_select( 'primary' );

    What I do in Swagger is output it above the nav#access element. Then, I just essentially swap hiding and showing the two elements with CSS display property, depending on if it’s mobile or not. So, the select menu is hidden, then you get to mobile, the select menu shows and nav#access is hidden.

    #10424
    Wendell Harness
    Participant

    Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.