- This topic has 13 replies, 2 voices, and was last updated 5 years, 11 months ago by
Tom.
-
AuthorPosts
-
October 14, 2019 at 6:32 am #1034153
liorsade8
hi tom,
nowadays the mobile header navigation or regular navigation (in mobile mode, while in hamburger mode) transition entrance is fast. both in regular or slideout mode.example:
my site in mobile mode slideout is fast: https://www.roidmi.co.il
my site in mobile mode regular is fast: https://www.studiosade.comhow can we slow it down?
example for slow nice transition in slideout mode from side: https://www.cobosrl.co
example for slow nice transition in regular mode from top to bottom side: https://www.craftedny.com or https://rvlv.agency oralso is there a way to make it appear as fade in and not from top, like here: https://www.muze-studio.co.il or https://manipine.com or http://www.kosygina21.ru
please help,
thanksOctober 14, 2019 at 7:46 pm #1034737Tom
Lead DeveloperLead DeveloperHi there,
This might help:
#generate-slideout-menu { transition: transform 1s cubic-bezier(.16,.68,.43,.99); }
Have you tried the overlay option? I think it might be what you’re looking for (slide in vs fade).
Let me know 🙂
October 14, 2019 at 11:22 pm #1034826liorsade8
hi cool it’s working nice in slideout…
what about transition from top to bottom for menu like this site: https://www.studiosade.com?
same code?also i’ll try regardless the overlay option… and let u know
thanks
October 15, 2019 at 9:38 am #1035441Tom
Lead DeveloperLead DeveloperI’m not seeing a slideout/overlay trigger on that site – can you point me in the right direction?
October 15, 2019 at 9:41 am #1035443liorsade8
hi
i used the transition on this site: https://www.roidmi.co.il
and it’s great.on this site – https://www.studiosade.com i have a regular navigation menu… i didnt updated the theme yet and i was wondering for transition on the regular from top to bottom navigation…
any code?
thanksOctober 15, 2019 at 6:27 pm #1035774Tom
Lead DeveloperLead DeveloperGive this a shot:
@media (max-width: 768px) { .main-navigation .main-nav > ul > li { width: 100%; display: block; } .main-navigation .main-nav > ul { display: block; max-height: 0; overflow: hidden; opacity: 0; transition: max-height 100ms ease-in-out, opacity 100ms ease-in-out; position: absolute; } .main-navigation.toggled .main-nav > ul { max-height: 1000px; transition: max-height 400ms ease-in-out, opacity 400ms ease-in-out; opacity: 1; } }
October 15, 2019 at 6:34 pm #1035779liorsade8
cool, it’s working.
but why does it have an annoying closing…
meaning when u close the menu it’s jumping the screen a bit
when in regular mode it doesn’t,
any help please
thanksOctober 16, 2019 at 10:00 am #1036467Tom
Lead DeveloperLead DeveloperI just updated the CSS above – can you give it another shot?
October 16, 2019 at 10:04 am #1036471liorsade8
aaaaaawwwwwwwwweeesome!!! once again u’r the best!
it’s working great.
i’m not closing this topic yet.
i wanna check something.
thanks tomOctober 16, 2019 at 10:48 am #1036501Tom
Lead DeveloperLead DeveloperNo problem 🙂
October 20, 2019 at 7:26 am #1039528liorsade8
hi
any code for making the overlay whole screen transition to be slower?
thanksOctober 20, 2019 at 5:28 pm #1039907Tom
Lead DeveloperLead DeveloperTry this:
.slideout-navigation.do-overlay { transition: opacity 1s, visibility 1s; }
October 20, 2019 at 5:30 pm #1039908liorsade8
working great! thanks
October 21, 2019 at 9:37 am #1040502Tom
Lead DeveloperLead DeveloperYou’re welcome 🙂
-
AuthorPosts
- You must be logged in to reply to this topic.