{"id":16744,"date":"2016-05-09T17:43:25","date_gmt":"2016-05-09T16:43:25","guid":{"rendered":"https:\/\/www.megamenu.com\/documentation\/faqs\/pro-updates-not-working-copy\/"},"modified":"2016-06-29T12:41:06","modified_gmt":"2016-06-29T11:41:06","slug":"change-animation-speed","status":"publish","type":"ht_kb","link":"https:\/\/www.megamenu.com\/documentation\/change-animation-speed\/","title":{"rendered":"Change Animation Speed"},"content":{"rendered":"<p>In v2.2 onwards it is possible to change the animation speed in the Mega Menu settings:<\/p>\n<p><a href=\"https:\/\/www.megamenu.com\/wp-content\/uploads\/2016\/05\/effect_speeds.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-16746\" src=\"https:\/\/www.megamenu.com\/wp-content\/uploads\/2016\/05\/effect_speeds.png\" alt=\"effect_speeds\" width=\"296\" height=\"323\" srcset=\"https:\/\/www.megamenu.com\/wp-content\/uploads\/2016\/05\/effect_speeds.png 296w, https:\/\/www.megamenu.com\/wp-content\/uploads\/2016\/05\/effect_speeds-275x300.png 275w, https:\/\/www.megamenu.com\/wp-content\/uploads\/2016\/05\/effect_speeds-115x125.png 115w, https:\/\/www.megamenu.com\/wp-content\/uploads\/2016\/05\/effect_speeds-69x75.png 69w\" sizes=\"auto, (max-width: 296px) 100vw, 296px\" \/><\/a><\/p>\n<p>There are 3 options:<\/p>\n<ul>\n<li>Fast (200ms &#8211; default)<\/li>\n<li>Medium (400ms)<\/li>\n<li>Slow (600ms)<\/li>\n<\/ul>\n<p>If you want to add more options you can add the following to your themes functions.php file:<\/p>\n<pre class=\"lang:default decode:true\">function megamenu_add_speed_options($options, $selected) {\r\n\t$options[\"900\"] = 'Very Slow';\r\n\t$options[\"100\"] = 'Very Fast';\r\n\r\n\treturn $options;\r\n}\r\nadd_filter('megamenu_effect_speed', 'megamenu_add_speed_options', 10, 2);<\/pre>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In v2.2 onwards it is possible to change the animation speed in the Mega Menu settings: There are 3 options: Fast (200ms &#8211; default) Medium (400ms) Slow (600ms) If you want to add more options you can add the following to your themes functions.php file: function megamenu_add_speed_options($options, $selected) { $options[&#8220;900&#8221;]&#8230;<\/p>\n","protected":false},"author":1,"comment_status":"closed","ping_status":"closed","template":"template-documentation.php","format":"standard","meta":{"_uag_custom_page_level_css":"","footnotes":""},"ht-kb-category":[14],"ht-kb-tag":[],"class_list":["post-16744","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-faqs"],"uagb_featured_image_src":[],"uagb_author_info":{"display_name":"Tom Hemsley","author_link":"https:\/\/www.megamenu.com\/author\/megamenu\/"},"uagb_comment_info":0,"uagb_excerpt":"In v2.2 onwards it is possible to change the animation speed in the Mega Menu settings: There are 3 options: Fast (200ms &#8211; default) Medium (400ms) Slow (600ms) If you want to add more options you can add the following to your themes functions.php file: function megamenu_add_speed_options($options, $selected) { $options[\"900\"]...","_links":{"self":[{"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb\/16744","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/comments?post=16744"}],"version-history":[{"count":0,"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb\/16744\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/media?parent=16744"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb-category?post=16744"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb-tag?post=16744"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}