Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Menu on a small screen

Featured Replies

I use a really simple jQuery dropdown for a menu on a small screen. It's triggered by a media query.

 

Someone has asked if it can push the content down rather than layer over the top. It sounds simple but I'm not good enough a developer to work out how to do it. You can try it here: testblog.co.uk/. Reduce the browser window or take a look on your phone. I thinks it's a css thing not a jquery thing.

 

Or if there is a better way to do this (ideally without using jQuery) that would be icing on the cake

Edited by fisicx

I only had a very quick look, but try changing the ul element to position:relative instead of absolute.

Edited by rhubarblover

I started with my browser window open full. When I shrank it, the mobile menu was fine but when I enlarged it again there was no menu shown. Refreshing gave the menu back but the same problem occurs.

  • Author

However, you would normally only see the drop down on small screens so this isn't a major issue. But thanks for the observation.

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.