Hide when scrolling down for mobile
-
Hi Armin
I'd like the "hide when scrolling down" function to work for mobile aswell. Is there a simple way to achieve this?
Thanks
Jan
-
-
janblattreplied to mariusjopen on Aug 20, 2018, 10:50 AM last edited by janblatt Aug 20, 2018, 6:54 AM
@mariusjopen Thanks for the reply. The same onscroll effect as in desktop view. When scrolling down the primary menu slides upwards out of the viewport and slides back in when scrolling up. I intend to use desktop menu for mobile view and like to have the same effect there.
-
Dear @janblatt
ah, you are talking about the menu… :-)You would need to code that yourself with jQuery.
You are familiar with this?Best!
Marius
-
Haha, right, could have mentioned the menu in my initial post.
Only minor css knowledge on my side. No jquery or sorts of. Does it take a lot tweaking to make my mobile menu behave exactly like the desktop view?
-
Dear @janblatt
not a lot of tweaking though.
I recommend to make a basic course of Javascript or jQuery at Codeacademy.
It's not that hard and enables you a lot of freedom.Best!
Marius
-
@mariusjopen, thanks for recommending this. Probably a good idea to get my head around this to some degree.
Best
Jan
5/7
Before you post:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"
This often solves issues you might run into
When you post:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it