Home › Forums › Support › Disable menu animation on hover This topic has 7 replies, 2 voices, and was last updated 7 years, 2 months ago by themedleb. Viewing 8 posts - 1 through 8 (of 8 total) Author Posts November 24, 2017 at 5:50 pm #433279 themedleb My main menu shows sub-menus with a slightly slow animation when it’s on cursor hover, I want it to be instant, how can I do this? November 24, 2017 at 10:23 pm #433423 TomLead Developer Lead Developer I could give you some javascript, but it will be deprecated in GP 2.0 which is scheduled for beta released early next week. In GP 2.0, it uses pure CSS, which means you can remove the transition super easily. Do you want me to update this topic once 2.0 is ready for testing? November 24, 2017 at 10:57 pm #433438 themedleb Oh, okay, I would prefer CSS instead, I can wait. And yeah, sure. Thank you. November 24, 2017 at 11:03 pm #433447 TomLead Developer Lead Developer Will do – thanks! November 27, 2017 at 10:51 am #436051 TomLead Developer Lead Developer I just released GP 2.0-alpha.1: https://generatepress.com/generatepress-2-0-alpha-beta/ If your site has a lot of traffic, I suggest creating a staging site to test it out before updating on the live site ๐ To remove the transition, try this: .main-navigation ul ul { transition: opacity 0s linear; } .dropdown-hover .main-navigation ul li:hover > ul { transition-delay: 0s; } November 27, 2017 at 7:34 pm #436530 themedleb After testing, it works as expected. Thank you Tom. November 27, 2017 at 7:41 pm #436541 TomLead Developer Lead Developer You’re welcome, and thanks for testing 2.0! ๐ November 27, 2017 at 7:57 pm #436551 themedleb 2.0 worth testing, waiting for the final impatiently. Author Posts Viewing 8 posts - 1 through 8 (of 8 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In