{"id":56800,"date":"2015-11-03T09:14:47","date_gmt":"2015-11-03T14:14:47","guid":{"rendered":"http:\/\/www.templatemonster.com\/help\/?p=56800"},"modified":"2017-08-24T05:34:31","modified_gmt":"2017-08-24T09:34:31","slug":"magento-how-to-set-number-of-columns-in-category-listing-for-magento-1-8-x-templates-2","status":"publish","type":"post","link":"https:\/\/www.templatemonster.com\/help\/magento-how-to-set-number-of-columns-in-category-listing-for-magento-1-8-x-templates-2.html","title":{"rendered":"Magento. How to set number of columns in category listing (for Magento 1.8.x+ templates)"},"content":{"rendered":"<p>\r\n<p>In this tutorial you will learn how to set number of columns in category listing in Magento template(s).<\/p>\r\n<p><a href=\"http:\/\/www.youtube.com\/watch?v=JHsFvjmJ-bs?width=1280&amp;height=720\" rel=\"prettyPhoto\">Magento. How to set number of columns in category listing (for Magento 1.8.x+ templates)<\/a><\/p>\r\n<ol>\r\n<li>\r\n<p>Connect to your server using FTP client or you can use the file manager from your Hosting Cpanel.<\/p>\r\n<\/li>\r\n<li>\r\n<p>Using your file manager, go to <strong>app\/design\/frontend\/tm_themes\/themeXXX\/layout<\/strong> to edit the <strong>local.xml<\/strong> file.<\/p>\r\n<\/li>\r\n<li>\r\n<p>Here, we can set number of columns for default layout and\/or layered. Look for the following code:<\/p>\r\n<pre class=\"brush:xml\">&lt;action method=&quot;setColumnCount&quot;&gt;&lt;count&gt;3&lt;\/count&gt;&lt;\/action&gt;<\/pre>\r\n<p>Change number <strong>3<\/strong> to number <strong>4<\/strong>:<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2015\/11\/magento_how_to_set_number_of_columns_in_category_listing.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/11\/magento_how_to_set_number_of_columns_in_category_listing-300x210.jpg\" alt=\"magento_how_to_set_number_of_columns_in_category_listing\" width=\"300\" height=\"210\" class=\"aligncenter size-medium wp-image-56801\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/11\/magento_how_to_set_number_of_columns_in_category_listing-300x210.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/11\/magento_how_to_set_number_of_columns_in_category_listing-150x105.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/11\/magento_how_to_set_number_of_columns_in_category_listing.jpg 1000w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n<\/li>\r\n<li>\r\n<p>Save this file and upload to the server.<\/p>\r\n<\/li>\r\n<li>\r\n<p>Reload your site to see the changes.<\/p>\r\n<\/li>\r\n<\/ol>\r\n<p>This is it. Now you know how to set number of columns in category listing in Magento template(s).<\/p>\r\n<div class=\"inline-banner\">\r\n<a href=\"https:\/\/www.templatemonster.com\/service-center\/\">\r\n<img src=\"\/help\/files\/banners\/inline\/Banner-2-(835-x100).jpg\"\/>\r\n<\/a>\r\n<\/div>\r\n<p>Feel free to check the detailed video tutorial below:<\/p>\r\n<p><a href=\"http:\/\/www.youtube.com\/watch?v=JHsFvjmJ-bs?width=1280&amp;height=720\" rel=\"prettyPhoto\">Magento. How to set number of columns in category listing (for Magento 1.8.x+ templates)<\/a><\/p>\r\n<p><\/p>","protected":false},"excerpt":{"rendered":"<p>In this tutorial you will learn how to set number of columns in category listing in Magento template(s).<\/p>\n","protected":false},"author":12,"featured_media":56805,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[729],"tags":[687,656,696,2407],"_links":{"self":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/56800"}],"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\/12"}],"replies":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/comments?post=56800"}],"version-history":[{"count":2,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/56800\/revisions"}],"predecessor-version":[{"id":82949,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/56800\/revisions\/82949"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media\/56805"}],"wp:attachment":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media?parent=56800"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/categories?post=56800"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/tags?post=56800"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}