Mobile Menu animation not working correctly
-
Dear @srg
I had a thought if you add the specific transition CSS that you need to your <header> so that it loads early on page load
<style> @media (max-width: 650px) nav.laynav.mobile-nav { -webkit-transition: height 500ms cubic-bezier(0.52, 0.16, 0.24, 1); -o-transition: height 500ms cubic-bezier(0.52, 0.16, 0.24, 1); transition: height 500ms cubic-bezier(0.52, 0.16, 0.24, 1); } </style>Added to 'Custom <head> content' in 'Lay Options - Custom CSS & HTML
Let me know if that solves it! :)
Best
Richard -
Dear @srg
I had a thought if you add the specific transition CSS that you need to your <header> so that it loads early on page load
<style> @media (max-width: 650px) nav.laynav.mobile-nav { -webkit-transition: height 500ms cubic-bezier(0.52, 0.16, 0.24, 1); -o-transition: height 500ms cubic-bezier(0.52, 0.16, 0.24, 1); transition: height 500ms cubic-bezier(0.52, 0.16, 0.24, 1); } </style>Added to 'Custom <head> content' in 'Lay Options - Custom CSS & HTML
Let me know if that solves it! :)
Best
Richard -
-
Dear @srg
I had a thought if you add the specific transition CSS that you need to your <header> so that it loads early on page load
<style> @media (max-width: 650px) nav.laynav.mobile-nav { -webkit-transition: height 500ms cubic-bezier(0.52, 0.16, 0.24, 1); -o-transition: height 500ms cubic-bezier(0.52, 0.16, 0.24, 1); transition: height 500ms cubic-bezier(0.52, 0.16, 0.24, 1); } </style>Added to 'Custom <head> content' in 'Lay Options - Custom CSS & HTML
Let me know if that solves it! :)
Best
Richard -
Dear @srg
I had a thought if you add the specific transition CSS that you need to your <header> so that it loads early on page load
<style> @media (max-width: 650px) nav.laynav.mobile-nav { -webkit-transition: height 500ms cubic-bezier(0.52, 0.16, 0.24, 1); -o-transition: height 500ms cubic-bezier(0.52, 0.16, 0.24, 1); transition: height 500ms cubic-bezier(0.52, 0.16, 0.24, 1); } </style>Added to 'Custom <head> content' in 'Lay Options - Custom CSS & HTML
Let me know if that solves it! :)
Best
Richard -
-
Dear @srg
Will forward this to make sure you get the right Answer! :)
Best wishes and thank you for using Lay Theme, have a wonderful day and talk soon
Sincerely
Richard -
hey looking into this now, sorry for the wait
-
ok i will release an update later today that improves this!
-
ok i will release an update later today that improves this!
Thank you @arminunruh
It’s working correctly now
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login