{"id":76267,"date":"2016-09-26T10:03:13","date_gmt":"2016-09-26T14:03:13","guid":{"rendered":"http:\/\/www.templatemonster.com\/help\/?p=76267"},"modified":"2017-01-20T04:59:05","modified_gmt":"2017-01-20T09:59:05","slug":"cherryframework-3-troubleshooter-deal-doubled-menu","status":"publish","type":"post","link":"https:\/\/www.templatemonster.com\/help\/cherryframework-3-troubleshooter-deal-doubled-menu.html","title":{"rendered":"CherryFramework 3 Troubleshooter. How to deal with doubled menu"},"content":{"rendered":"<p>This tutorial is going to show you how to deal with the doubled menus on mobile devices in CherryFramework 3.x templates.<\/p>\r\n\r\n <div class=\"video-container\">\r\n\t<iframe src=\"https:\/\/www.youtube.com\/embed\/og1dCZu4juU\"><\/iframe>\r\n<\/div>\r\n<p>You might have noticed that your menu has duplicated menu items on mobile devices:<\/p>\r\n\r\n<a class=\"darkbox\" href=\"\/help\/wp-content\/uploads\/2016\/09\/CherryFramework_3_Troubleshooter._How_to_deal_with_doubled_menu_1.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"\/help\/wp-content\/uploads\/2016\/09\/CherryFramework_3_Troubleshooter._How_to_deal_with_doubled_menu_1-169x300.jpg\" alt=\"CherryFramework_3_Troubleshooter._How_to_deal_with_doubled_menu_1\" width=\"169\" height=\"300\" class=\"alignnone size-medium wp-image-76270\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/09\/CherryFramework_3_Troubleshooter._How_to_deal_with_doubled_menu_1-169x300.jpg 169w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/09\/CherryFramework_3_Troubleshooter._How_to_deal_with_doubled_menu_1-84x150.jpg 84w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/09\/CherryFramework_3_Troubleshooter._How_to_deal_with_doubled_menu_1.jpg 360w\" sizes=\"auto, (max-width: 169px) 100vw, 169px\" \/><\/a>\r\n<p>This issue can be fixed easily. Required steps are as follows:<\/p>\r\n<ol>\r\n<li><p>Please, connect to your server using FTP or hosting cPanel.<\/p><\/li>\r\n<li><p>Edit the <strong>wp-content\/themes\/theme#####\/js\/my_script.js<\/strong> or <strong>theme#####\/includes\/custom-js.php<\/strong> depending on the template you use (##### is your theme number).<\/p><\/li>\r\n<li><p>Locate the following lines:<\/p>\r\n<pre class=\"brush:js\">\r\n$('.nav__primary&gt;ul&gt;li&gt;a').each(function(){\r\n  var $this = $(this),\r\n  txt = $this.text();\r\n  $this.html('\r\n  '+ txt +'\r\n  '+ txt +'\r\n   ');\r\n  });\r\n<\/pre>\r\n<\/li>\r\n<li><p>Remove or comment out lines above. Save file and upload it back to your server.<\/p><\/li>\r\n<\/ol>\r\n<p>You can refresh your site now. Menu titles are not duplicated anymore:<\/p>\r\n\r\n<a class=\"darkbox\" href=\"\/help\/wp-content\/uploads\/2016\/09\/CherryFramework_3_Troubleshooter._How_to_deal_with_doubled_menu_2.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"\/help\/wp-content\/uploads\/2016\/09\/CherryFramework_3_Troubleshooter._How_to_deal_with_doubled_menu_2-172x300.jpg\" alt=\"CherryFramework_3_Troubleshooter._How_to_deal_with_doubled_menu_2\" width=\"172\" height=\"300\" class=\"alignnone size-medium wp-image-76269\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/09\/CherryFramework_3_Troubleshooter._How_to_deal_with_doubled_menu_2-172x300.jpg 172w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/09\/CherryFramework_3_Troubleshooter._How_to_deal_with_doubled_menu_2-86x150.jpg 86w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/09\/CherryFramework_3_Troubleshooter._How_to_deal_with_doubled_menu_2.jpg 377w\" sizes=\"auto, (max-width: 172px) 100vw, 172px\" \/><\/a>\r\n<p>Opt for more top-rated <a href=\"https:\/\/www.templatemonster.com\/cherry-wordpress-themes\/\" target=\"_blank\" title=\"Cherry Framework WordPress Themes\">Cherry Framework themes<\/a> in our large scale.<\/p>\r\n<p>Feel free to check the detailed video tutorial below:<\/p>\r\n<a href=\"http:\/\/www.youtube.com\/watch?v=og1dCZu4juU?width=1280&amp;height=720\" rel=\"prettyPhoto\">CherryFramework 3 Troubleshooter. How to deal with doubled menu<\/a>\r\n\r\n<p>If you&#8217;re looking for a professional template to build a website, view <a href=\"https:\/\/www.templatemonster.com\/blog\/2017-best-wordpress-themes\/\" title=\"Best WordPress Themes 2017\" target=\"_blank\">the Best WordPress Themes 2017<\/a>.<\/p>","protected":false},"excerpt":{"rendered":"<p>This tutorial is going to show you how to deal with the doubled menus on mobile devices in CherryFramework 3.x templates.<\/p>\n","protected":false},"author":55,"featured_media":76272,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[728],"tags":[2097,1367,1739,2287],"class_list":["post-76267","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wordpress-tutorials","tag-cherryframework3","tag-duplicate","tag-duplicated","tag-menus"],"_links":{"self":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/76267","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/users\/55"}],"replies":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/comments?post=76267"}],"version-history":[{"count":0,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/76267\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media\/76272"}],"wp:attachment":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media?parent=76267"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/categories?post=76267"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/tags?post=76267"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}