{"id":12599,"date":"2016-03-02T11:50:36","date_gmt":"2016-03-02T11:50:36","guid":{"rendered":"https:\/\/www.megamenu.com\/documentation\/faqs\/theme-integration\/canvas-2\/"},"modified":"2016-03-02T11:59:34","modified_gmt":"2016-03-02T11:59:34","slug":"point","status":"publish","type":"ht_kb","link":"https:\/\/www.megamenu.com\/documentation\/point\/","title":{"rendered":"Point"},"content":{"rendered":"<p>Under <em>Appearance &gt; Editor,<\/em> select &#8216;header.php&#8217; on the right.<\/p>\n<p>Find:<\/p>\n<pre class=\"lang:php decode:true\">&lt;a href=\"#\" id=\"pull\" class=\"toggle-mobile-menu\"&gt;&lt;?php _e('Menu', 'point'); ?&gt;&lt;\/a&gt;\r\n&lt;div class=\"primary-navigation\"&gt;\r\n\t&lt;nav id=\"navigation\" class=\"mobile-menu-wrapper\" role=\"navigation\"&gt;\r\n\t\t&lt;?php if ( has_nav_menu( 'primary' ) ) { ?&gt;\r\n\t\t\t&lt;?php wp_nav_menu( array( 'theme_location' =&gt; 'primary', 'menu_class' =&gt; 'menu clearfix', 'container' =&gt; '', 'walker' =&gt; new mts_Walker ) ); ?&gt;\r\n\t\t&lt;?php } else { ?&gt;\r\n\t\t\t&lt;ul class=\"menu clearfix\"&gt;\r\n\t\t\t\t&lt;?php wp_list_categories('title_li='); ?&gt;\r\n\t\t\t&lt;\/ul&gt;\r\n\t\t&lt;?php } ?&gt;\r\n\t&lt;\/nav&gt;&lt;!-- #navigation --&gt;\r\n&lt;\/div&gt;&lt;!-- .primary-navigation --&gt;<\/pre>\n<div class=\"primary-navigation\">\n<nav id=\"navigation\" class=\"mobile-menu-wrapper\"><!--?php if ( has_nav_menu( 'primary' ) ) { ?--> <!--?php wp_nav_menu( array( 'theme_location' =&gt; 'primary', 'menu_class' =&gt; 'menu clearfix', 'container' =&gt; '', 'walker' =&gt; new mts_Walker ) ); ?--> <!--?php } else { ?-->Replace with:<\/nav>\n<nav class=\"mobile-menu-wrapper\"><\/nav>\n<nav class=\"mobile-menu-wrapper\"><\/nav>\n<p><!-- #navigation --><\/p>\n<\/div>\n<p><!-- .primary-navigation --><\/p>\n<pre class=\"lang:default decode:true \">&lt;?php wp_nav_menu( array( 'theme_location' =&gt; 'primary' ) ); ?&gt;<\/pre>\n<p>Go to Appearance &gt; Customize &gt; Theme Options &gt; Styling Settings\u00a0and insert the following into the Custom CSS area:<\/p>\n<pre class=\"lang:default decode:true \">.site-branding {\r\n    padding: 0 2%;\r\n}<\/pre>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Under Appearance &gt; Editor, select &#8216;header.php&#8217; on the right. Find: &lt;a href=&#8221;#&#8221; id=&#8221;pull&#8221; class=&#8221;toggle-mobile-menu&#8221;&gt;&lt;?php _e(&#8216;Menu&#8217;, &#8216;point&#8217;); ?&gt;&lt;\/a&gt; &lt;div class=&#8221;primary-navigation&#8221;&gt; &lt;nav id=&#8221;navigation&#8221; class=&#8221;mobile-menu-wrapper&#8221; role=&#8221;navigation&#8221;&gt; &lt;?php if ( has_nav_menu( &#8216;primary&#8217; ) ) { ?&gt; &lt;?php wp_nav_menu( array( &#8216;theme_location&#8217; =&gt; &#8216;primary&#8217;, &#8216;menu_class&#8217; =&gt; &#8216;menu clearfix&#8217;, &#8216;container&#8217; =&gt; &#8221;, &#8216;walker&#8217; =&gt; new mts_Walker )&#8230;<\/p>\n","protected":false},"author":1,"comment_status":"open","ping_status":"open","template":"template-documentation.php","format":"standard","meta":{"_uag_custom_page_level_css":"","footnotes":""},"ht-kb-category":[15],"ht-kb-tag":[],"class_list":["post-12599","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":"Under Appearance &gt; Editor, select &#8216;header.php&#8217; on the right. Find: &lt;a href=\"#\" id=\"pull\" class=\"toggle-mobile-menu\"&gt;&lt;?php _e('Menu', 'point'); ?&gt;&lt;\/a&gt; &lt;div class=\"primary-navigation\"&gt; &lt;nav id=\"navigation\" class=\"mobile-menu-wrapper\" role=\"navigation\"&gt; &lt;?php if ( has_nav_menu( 'primary' ) ) { ?&gt; &lt;?php wp_nav_menu( array( 'theme_location' =&gt; 'primary', 'menu_class' =&gt; 'menu clearfix', 'container' =&gt; '', 'walker' =&gt; new mts_Walker )...","_links":{"self":[{"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb\/12599","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=12599"}],"version-history":[{"count":0,"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb\/12599\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/media?parent=12599"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb-category?post=12599"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/www.megamenu.com\/wp-json\/wp\/v2\/ht-kb-tag?post=12599"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}