{"id":71866,"date":"2016-06-09T09:32:28","date_gmt":"2016-06-09T13:32:28","guid":{"rendered":"http:\/\/www.templatemonster.com\/help\/?p=71866"},"modified":"2016-10-28T08:56:20","modified_gmt":"2016-10-28T12:56:20","slug":"prestashop-1-6-x-how-to-create-custom-layout-using-tm-mega-layout-module","status":"publish","type":"post","link":"https:\/\/www.templatemonster.com\/help\/prestashop-1-6-x-how-to-create-custom-layout-using-tm-mega-layout-module.html","title":{"rendered":"PrestaShop 1.6.x. How to create custom layout using &#8220;TM Mega Layout&#8221; module"},"content":{"rendered":"<p>This tutorial will show you how to create custom layout using &#8216;TM Mega Layout&#8217; module in <a href=\"https:\/\/www.templatemonster.com\/properties\/prestashop-compatibility\/1-6-x\/\" title=\"PrestaShop 1.6.x. template\" target=\"_blank\">PrestaShop 1.6.x. template<\/a>.<\/p>\r\n<div class=\"video-container\">\r\n\t<iframe src=\"https:\/\/www.youtube.com\/embed\/54QB8G4zYAE\"><\/iframe>\r\n<\/div>\r\n\r\n<p>In order to create a layout you need to:<\/p>\r\n<ol>\r\n\t<li><p>Navigate to <strong>Modules and Services->Modules and Services<\/strong> section and find the <strong>TM Mega Layout<\/strong> module. Press the <strong>Configure<\/strong> button to access it&#8217;s settings.<\/p>\r\n\t\r\n<a class=\"darkbox\" href=\"\/help\/wp-content\/uploads\/2016\/06\/PrestaShop-1.6.x.-How-to-create-custom-layout-using-TM-Mega-Layout-module-1.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2016\/06\/PrestaShop-1.6.x.-How-to-create-custom-layout-using-TM-Mega-Layout-module-1-300x169.jpg\" alt=\"PrestaShop 1.6.x. How to create custom layout using &#039;TM Mega Layout&#039; module-1\" width=\"300\" height=\"169\" class=\"alignnone size-medium wp-image-71867\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/06\/PrestaShop-1.6.x.-How-to-create-custom-layout-using-TM-Mega-Layout-module-1-300x169.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/06\/PrestaShop-1.6.x.-How-to-create-custom-layout-using-TM-Mega-Layout-module-1-150x84.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/06\/PrestaShop-1.6.x.-How-to-create-custom-layout-using-TM-Mega-Layout-module-1.jpg 1000w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\t\r\n\t<\/li>\r\n\t<li><p>You can switch between positions at the top, for now let&#8217;s try the <strong>DisplayTopColumn<\/strong>. Click on the <strong>Add preset<\/strong> button to create a new layout and enter a name for your layout. Now let&#8217;s add a wrapper, which will work as a container for our content. To do this you need to hit the <strong>+Add wrapper<\/strong> button.<\/p>\r\n\t\r\n<a class=\"darkbox\" href=\"\/help\/wp-content\/uploads\/2016\/06\/PrestaShop-1.6.x.-How-to-create-custom-layout-using-TM-Mega-Layout-module-2.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2016\/06\/PrestaShop-1.6.x.-How-to-create-custom-layout-using-TM-Mega-Layout-module-2-300x169.jpg\" alt=\"PrestaShop 1.6.x. How to create custom layout using &#039;TM Mega Layout&#039; module-2\" width=\"300\" height=\"169\" class=\"alignnone size-medium wp-image-71868\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/06\/PrestaShop-1.6.x.-How-to-create-custom-layout-using-TM-Mega-Layout-module-2-300x169.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/06\/PrestaShop-1.6.x.-How-to-create-custom-layout-using-TM-Mega-Layout-module-2-150x84.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/06\/PrestaShop-1.6.x.-How-to-create-custom-layout-using-TM-Mega-Layout-module-2.jpg 1000w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\t\r\n\t<\/li>\r\n\t<li><p>Now that we have a wrapper we can add rows of content to it. Click on the <strong>Add row<\/strong> button which is located on the newly created wrapper. We can split this row into multiple columns or leave it as it is. Let&#8217;s add 2 columns to it by clicking on the &#8220;<strong>&#8230;<\/strong>&#8221; button on the right side. You will see a drop-down menu, where you need to select <strong>+Add col<\/strong>.<\/p>\r\n\t\t\r\n<a class=\"darkbox\" href=\"\/help\/wp-content\/uploads\/2016\/06\/PrestaShop-1.6.x.-How-to-create-custom-layout-using-TM-Mega-Layout-module-3.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2016\/06\/PrestaShop-1.6.x.-How-to-create-custom-layout-using-TM-Mega-Layout-module-3-300x169.jpg\" alt=\"PrestaShop 1.6.x. How to create custom layout using &#039;TM Mega Layout&#039; module-3\" width=\"300\" height=\"169\" class=\"alignnone size-medium wp-image-71869\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/06\/PrestaShop-1.6.x.-How-to-create-custom-layout-using-TM-Mega-Layout-module-3-300x169.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/06\/PrestaShop-1.6.x.-How-to-create-custom-layout-using-TM-Mega-Layout-module-3-150x84.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/06\/PrestaShop-1.6.x.-How-to-create-custom-layout-using-TM-Mega-Layout-module-3.jpg 1000w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\t\r\n\t<\/li>\r\n\t<li><p>You will see a pop-up window where you can define a specific class for a column and set the number of span columns it will take for different devices (maximum value is 12). Let&#8217;s set 6 &#8216;spans&#8217; for this column and create a new one which will take the same amount of space. This way we will have 2 equal columns.<\/p><\/li>\r\n\t<li><p>The layout is ready and we can add modules to it. You can add a module to a column by clicking on the &#8220;<strong>&#8230;<\/strong>&#8221; button on the right side and selecting <strong>+Add Module<\/strong>. Now you need to click the <strong>Use as default<\/strong> switch at the top.<\/p>\r\n\t\t\t\r\n<a class=\"darkbox\" href=\"\/help\/wp-content\/uploads\/2016\/06\/PrestaShop-1.6.x.-How-to-create-custom-layout-using-TM-Mega-Layout-module-4.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2016\/06\/PrestaShop-1.6.x.-How-to-create-custom-layout-using-TM-Mega-Layout-module-4-300x169.jpg\" alt=\"PrestaShop 1.6.x. How to create custom layout using &#039;TM Mega Layout&#039; module-4\" width=\"300\" height=\"169\" class=\"alignnone size-medium wp-image-71870\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/06\/PrestaShop-1.6.x.-How-to-create-custom-layout-using-TM-Mega-Layout-module-4-300x169.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/06\/PrestaShop-1.6.x.-How-to-create-custom-layout-using-TM-Mega-Layout-module-4-150x84.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/06\/PrestaShop-1.6.x.-How-to-create-custom-layout-using-TM-Mega-Layout-module-4.jpg 1000w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\t\r\n\t<\/li>\r\n\t<li><p>Check your updates on the site frontend. Two columns with the modules you have selected should be displayed in the top column.<\/p>\r\n\t\t\r\n<a class=\"darkbox\" href=\"\/help\/wp-content\/uploads\/2016\/06\/PrestaShop-1.6.x.-How-to-create-custom-layout-using-TM-Mega-Layout-module-5.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2016\/06\/PrestaShop-1.6.x.-How-to-create-custom-layout-using-TM-Mega-Layout-module-5-300x169.jpg\" alt=\"PrestaShop 1.6.x. How to create custom layout using &#039;TM Mega Layout&#039; module-5\" width=\"300\" height=\"169\" class=\"alignnone size-medium wp-image-71871\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/06\/PrestaShop-1.6.x.-How-to-create-custom-layout-using-TM-Mega-Layout-module-5-300x169.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/06\/PrestaShop-1.6.x.-How-to-create-custom-layout-using-TM-Mega-Layout-module-5-150x84.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/06\/PrestaShop-1.6.x.-How-to-create-custom-layout-using-TM-Mega-Layout-module-5.jpg 1000w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\t\r\n\t<\/li>\r\n<\/ol>\r\n<p>Thank you for watching our tutorial. Now you know how to create custom layout using &#8216;TM Mega Layout&#8217; module in PrestaShop 1.6.x.<\/p>\r\n<p>Feel free to check the detailed video tutorial below:<\/p>\r\n<a href=\"http:\/\/www.youtube.com\/watch?v=54QB8G4zYAE?width=1280&amp;height=720\" rel=\"prettyPhoto\">PrestaShop 1.6.x. How to create custom layout using &#8220;TM Mega Layout&#8221; module<\/a>","protected":false},"excerpt":{"rendered":"<p>This tutorial will show you how to create custom layout using &#8216;TM Mega Layout&#8217; module in PrestaShop 1.6.x.<\/p>\n","protected":false},"author":93,"featured_media":71872,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[732],"tags":[482,557,552,2298],"_links":{"self":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/71866"}],"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\/93"}],"replies":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/comments?post=71866"}],"version-history":[{"count":0,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/71866\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media\/71872"}],"wp:attachment":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media?parent=71866"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/categories?post=71866"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/tags?post=71866"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}