{"id":5389,"date":"2015-09-15T17:36:30","date_gmt":"2015-09-15T16:36:30","guid":{"rendered":"https:\/\/www.megamenu.com\/documentation\/faqs\/theme-integration\/customizr-2\/"},"modified":"2017-01-22T14:49:57","modified_gmt":"2017-01-22T14:49:57","slug":"optimizer-pro","status":"publish","type":"ht_kb","link":"https:\/\/www.megamenu.com\/documentation\/optimizer-pro\/","title":{"rendered":"Optimizer Pro"},"content":{"rendered":"<h3>Removing Residual Styling<\/h3>\n<p>Optimizer Pro uses &#8220;!important&#8221; CSS to force sub\u00a0menu item links to be white. To fix this, copy the template_parts\/head-type1.php file to your <a href=\"https:\/\/codex.wordpress.org\/Child_Themes\">child theme<\/a>.<\/p>\n<p>Inside the head-type1.php file:<\/p>\n<p>Find:<\/p>\n<pre class=\"lang:default decode:true \">id=\"topmenu\"<\/pre>\n<p>Replace with:<\/p>\n<pre class=\"lang:default decode:true \">id=\"topmenu-mmm\"<\/pre>\n<h3>Remove gap from below menu (optional)<\/h3>\n<p>The last change will have effectively disabled some CSS which the theme uses to position the menu. This will cause a gap to display below the menu. To remove the gap, go to<em> Customize &gt; Miscellaneous &gt; Custom Code &gt; Custom CSS<\/em> and paste in the following:<\/p>\n<pre class=\"lang:default decode:true\">#topmenu-mmm {\r\n   font-size: 0;\r\n}<\/pre>\n<h3>Mobile Menu<\/h3>\n<p>Under <em>Appearance &gt; Customize<\/em>, set the Mobile Menu Type (Header) to &#8220;Simple&#8221;.<\/p>\n<p>If you are using Max Mega Menu for the top bar also, set the Mobile Menu Type (Topbar) to &#8220;Simple&#8221;.<\/p>\n<p><a href=\"https:\/\/www.megamenu.com\/wp-content\/uploads\/2017\/01\/optimizer-mobile-settings.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-102463\" style=\"max-width: 200px;\" src=\"https:\/\/www.megamenu.com\/wp-content\/uploads\/2017\/01\/optimizer-mobile-settings.png\" alt=\"\" width=\"656\" height=\"1386\" srcset=\"https:\/\/www.megamenu.com\/wp-content\/uploads\/2017\/01\/optimizer-mobile-settings.png 656w, https:\/\/www.megamenu.com\/wp-content\/uploads\/2017\/01\/optimizer-mobile-settings-142x300.png 142w, https:\/\/www.megamenu.com\/wp-content\/uploads\/2017\/01\/optimizer-mobile-settings-485x1024.png 485w, https:\/\/www.megamenu.com\/wp-content\/uploads\/2017\/01\/optimizer-mobile-settings-24x50.png 24w\" sizes=\"auto, (max-width: 656px) 100vw, 656px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Removing Residual Styling Optimizer Pro uses &#8220;!important&#8221; CSS to force sub\u00a0menu item links to be white. To fix this, copy the template_parts\/head-type1.php file to your child theme. Inside the head-type1.php file: Find: id=&#8221;topmenu&#8221; Replace with: id=&#8221;topmenu-mmm&#8221; Remove gap from below menu (optional) The last change will have effectively disabled some&#8230;<\/p>\n","protected":false},"author":1,"comment_status":"open","ping_status":"open","template":"","format":"standard","meta":{"_uag_custom_page_level_css":"","footnotes":""},"ht-kb-category":[15],"ht-kb-tag":[],"class_list":["post-5389","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-theme-integration"],"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":"Removing Residual Styling Optimizer Pro uses &#8220;!important&#8221; CSS to force sub\u00a0menu item links to be white. To fix this, copy the template_parts\/head-type1.php file to your child theme. Inside the head-type1.php file: Find: id=\"topmenu\" Replace with: id=\"topmenu-mmm\" Remove gap from below menu (optional) The last change will have effectively disabled some...","_links":{"self":[{"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb\/5389","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=5389"}],"version-history":[{"count":10,"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb\/5389\/revisions"}],"predecessor-version":[{"id":102470,"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb\/5389\/revisions\/102470"}],"wp:attachment":[{"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/media?parent=5389"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb-category?post=5389"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb-tag?post=5389"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}