{"id":12717,"date":"2011-12-05T05:15:40","date_gmt":"2011-12-05T10:15:40","guid":{"rendered":"http:\/\/info.template-help.com\/?p=12717"},"modified":"2020-01-30T10:09:26","modified_gmt":"2020-01-30T15:09:26","slug":"html-based-how-to-edit-main-menu","status":"publish","type":"post","link":"https:\/\/www.templatemonster.com\/help\/html-based-how-to-edit-main-menu.html","title":{"rendered":"HTML Based. How to edit main menu"},"content":{"rendered":"<p>This tutorial shows how to edit main menu in HTML based template. <\/p><!--more-->\r\n<a href=\"http:\/\/info.template-help.com\/wp-content\/uploads\/2011\/12\/html-edit-menu-1.jpg\"><img loading=\"lazy\" src=\"http:\/\/info.template-help.com\/wp-content\/uploads\/2011\/12\/html-edit-menu-1-300x34.jpg\" alt=\"\" title=\"html-edit-menu-1\" width=\"300\" height=\"34\" class=\"aligncenter size-medium wp-image-12718\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/12\/html-edit-menu-1-300x34.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/12\/html-edit-menu-1.jpg 999w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n<p>First of all open the template package and go to the &quot;<strong>site<\/strong>&quot; folder. There you can see several HTML files. Each file is a separate page of the template. <\/p>\r\n<p class=\"attention\">The menu is included into each file so if you change it once you need to perform the same changes in any file. <\/p>\r\n<p>The meny is usually created as an unordered list where each menu button is a list item with embedded link:<\/p>\r\n\r\n<pre class=\"brush:html\">\r\n&lt;ul class=&quot;sf-menu&quot;&gt;\r\n\t&lt;li class=&quot;current&quot;&gt;&lt;a href=&quot;index.html&quot;&gt;about us&lt;\/a&gt;&lt;\/li&gt;\r\n\t&lt;li&gt;&lt;a href=&quot;index-1.html&quot;&gt;our services&lt;\/a&gt;\r\n\t\t&lt;ul&gt;\r\n\t\t\t&lt;li&gt;&lt;a href=&quot;#&quot;&gt;services list&lt;\/a&gt;&lt;\/li&gt;\r\n\t\t\t&lt;li&gt;&lt;a href=&quot;#&quot;&gt;special offer&lt;\/a&gt;\r\n\t\t\t\t&lt;ul&gt;\r\n\t\t\t\t\t&lt;li&gt;&lt;a href=&quot;#&quot;&gt;growing plants&lt;\/a&gt;&lt;\/li&gt;\r\n\t\t\t\t\t&lt;li&gt;&lt;a href=&quot;#&quot;&gt;vegetables&lt;\/a&gt;&lt;\/li&gt;\r\n\t\t\t\t&lt;\/ul&gt;\r\n\t\t\t&lt;\/li&gt;\r\n\t\t\t&lt;li&gt;&lt;a href=&quot;#&quot;&gt;consulting&lt;\/a&gt;&lt;\/li&gt;\r\n\t\t&lt;\/ul&gt;\r\n\t&lt;\/li&gt;\r\n\t&lt;li&gt;&lt;a href=&quot;index-2.html&quot;&gt;products&lt;\/a&gt;&lt;\/li&gt;\r\n\t&lt;li&gt;&lt;a href=&quot;index-3.html&quot;&gt;links&lt;\/a&gt;&lt;\/li&gt;\r\n\t&lt;li class=&quot;last&quot;&gt;&lt;a href=&quot;index-4.html&quot;&gt;contacts&lt;\/a&gt;&lt;\/li&gt;\r\n&lt;\/ul&gt;\r\n\r\n<\/pre>\r\n\r\n<p>This is how each menu item looks like: <\/p>\r\n<pre class=\"brush:html\">\r\n&lt;li&gt;&lt;a href=&quot;index.html&quot;&gt;about us&lt;\/a&gt;&lt;\/li&gt;\r\n<\/pre>\r\n\r\n<p>Let&#8217;s see how to edit it. <\/p>\r\n<p>To change the menu title edit text between the &lt;a href=&quot;&#8230;&quot;&gt; and &lt;\/a&gt; tags. <\/p>\r\n<p>To change the menu item link edit the href attribute value of the link tag. In the examlpe above the href attribute value is &quot;index.html&quot;. Replace it with your URL or the filename to change the links. <\/p>\r\n<p>Feel free to check the detailed video tutorial below:<\/p>\r\n\r\nHTML Based. How to edit main menu\r\n\r\n\r\n\r\n\r\n\r\n<!--more-->","protected":false},"excerpt":{"rendered":"<p>This tutorial shows how to edit main menu in HTML based template.<\/p>\n","protected":false},"author":2,"featured_media":12719,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[741,253],"tags":[2411,521,896,571,1010],"_links":{"self":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/12717"}],"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\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/comments?post=12717"}],"version-history":[{"count":1,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/12717\/revisions"}],"predecessor-version":[{"id":85963,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/12717\/revisions\/85963"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media\/12719"}],"wp:attachment":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media?parent=12717"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/categories?post=12717"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/tags?post=12717"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}