Skip to content
This repository has been archived by the owner on Aug 6, 2024. It is now read-only.

Navigation does strange things as viewport shrinks #79

Open
BenjaminEHowe opened this issue Nov 9, 2014 · 4 comments
Open

Navigation does strange things as viewport shrinks #79

BenjaminEHowe opened this issue Nov 9, 2014 · 4 comments

Comments

@BenjaminEHowe
Copy link

At "full width", the navigation sticks to the top of the screen:

image

As the viewport shrinks, the navigation moves closer to the logo, and extra space appears above it:

image

Finally, as the viewport shrinks even smaller, the navigation disappears entirely. This means that pages can't be navigated in a sane manner from a mobile phone.

@lacymorrow
Copy link
Owner

Because Ghost's Casper didn't support menus, this is one of those features that I tacked on to include as many WordPress features as possible.
It needs love, and lots of it.

@BenjaminEHowe
Copy link
Author

For mobile menus, what do you think of using TinyNav.js? It works using a dropdown / SELECT form. WordPress already enqueues a suitable version of jQuery so it would add ~1KB of weight (but some CSS could go - admittedly less than 1KB worth).

@lacymorrow
Copy link
Owner

I'd say go for it, either that or responsive-nav (same guy) seem to be good solutions.

Because of WP.org requirements, I've been refactoring third-party plugins into casper.js file in the Casper namespace.

@lacymorrow
Copy link
Owner

This is probably still a bug for many, leaving open

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants