• 0

Hero Nav Control at which size the menu transitions to mobile view?

Question

Posted · Report post

Can I control the width that the menu goes from displaying horizontally to mobile-view?

Share this post


Link to post
Share on other sites

14 answers to this question

  • 0

Posted · Report post

hooray! 

 

Today with the release of 1.2, there is a new option for choosing your own mobile-break point, where you can define your own width where Hero Nav changes styling from desktop to mobile.

 

The option is located at the bottom of the HeroNav options under Site Options (framework) and similarly under Global Options > Hero Nav for DMS.

 

You can use a static pixel value like "1000" or "900px" or even reference another less variable like "@resLargeDesktop".

 

The setting is global for all instances of Hero Nav, (fixed and standard or other clones if using on DMS).

 

Enjoy ;)

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

I'm asking because I prefer the accordion style to display on any device under 1024px. 

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Good question.

 

There currently is not an option to control this but I will add it in an upcoming release.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

That would be great! I've used your plugin for the mobile navigation of this site: http://mockingbirdpaperie.com/home

 

But, I would prefer that the navigation only shows block level, with no float, like it appears when it is small. Is that possible now by editing the CSS. If so, can you help me figure it out? thanks!

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

I'm not quite sure what you mean.  Are you saying you want it to display horizontally rather than stacked vertically for mobile?
http://screencast.com/t/TFBY6oTSc

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

I would like it to appear like a list, similar to the way it appears on my iPhone, instead of blocks that are arranged next to eachother vertically, which is how it is displaying on the iPad.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

that looks right to me. How is it displaying now that you don't want?

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

I agree that looks good. But, on the screenshot that you posted the links are side-by-side which do not work well with this menu. So, I want it to always display like the image that I posted. 

 

I realize that this in not usually how someone would want it to work, but this is a rare case. ;)

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Right, can you show me it not displaying the way you want?

 

It sounds like you're hiding your desktop navigation and showing the HeroNav for mobile before it has switched to mobile display.

 

What is the code you're using to hide your main nav?

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Evan Mattson
 
Hi Evan! Sorry for the delay in getting back to you! I am attaching a screenshot of how the menu looks with vertical orientation of the iPad. The navigation is showing inline, but I would prefer it to display as blocks (stacked on top of eachother) like it does on the iPhone.
 
Here's the code that I used to hide the ubermenu to show the mobile menu (the menu was placed in a column section):
 
/*hide mobile nav, show ubermenu*/
@media screen and (min-width: 1024px) 
{#plcolumnxmlwl2 {display: none; }
}
/*hide ubermenu, show mobile menu*/
@media screen and (max-width: 1023px) 
{#widgetizer31qgcy, #textboxeat9gi {display: none; }
}

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Right,

 

So if you're switching to Hero Nav at 1024px, it will still be showing the full nav until the screen gets below 767px.

 

The option for this is coming soon.  Stay tuned

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Evan Mattson Great to hear that the option is coming soon!

 

Can you add the word Title on the mobile menu next to the icon, too (or am I pushing my luck ;)? It would be great. Most of us savvy people know what the icon means, but I worry that some people may not recognize that they can get to the menu by pressing there.

 

Thanks for being so responsive!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now