Magento 2 change number of items per rowHow to change listing per page option?How to edit gallery images more view slider in product page?Less Compilation in Magento 2Magento 2: how to change default Country option on checkout pageMagento 2 : Change Number of Items Per Row set From Admin for Different CategoriesHow to Change Email Logo in magento 2Magento 2: Custom url for state=onsale produtcsMagento 2: Font family does not change. How to troubleshoot?Add right column menu items in Admin - Magento 2How to change row subtotal with custom price in cart?Magento 2: Product List Not Showing in Catalog and Search

How to supply water to a coastal desert town with no rain and no freshwater aquifers?

Check whether quotient ring is a field or an integral domain

Is this standard Japanese employment negotiations, or am I missing something?

Why would "dead languages" be the only languages that spells could be written in?

Is の方 necessary here?

A positive integer functional equation

How did Einstein know the speed of light was constant?

What's the big deal about the Nazgûl losing their horses?

Why no parachutes in the Orion AA2 abort test?

Is conquering your neighbors to fight a greater enemy a valid strategy?

Is kapton suitable for use as high voltage insulation?

Can you take the Dodge action while prone?

PhD: When to quit and move on?

Has there ever been a cold war other than between the U.S. and the U.S.S.R.?

Did Stalin kill all Soviet officers involved in the Winter War?

Does the Milky Way orbit around anything?

How did the IEC decide to create kibibytes?

The Purpose of "Natu"

2000s (or earlier) cyberpunk novel: dystopia, mega storm, omnipresent noise

What is the fundamental difference between catching whales and hunting other animals?

How come a desk dictionary be abridged?

Why did Super-VGA offer the 5:4 1280*1024 resolution?

Find max number you can create from an array of numbers

How did Captain Marvel do this without dying?



Magento 2 change number of items per row


How to change listing per page option?How to edit gallery images more view slider in product page?Less Compilation in Magento 2Magento 2: how to change default Country option on checkout pageMagento 2 : Change Number of Items Per Row set From Admin for Different CategoriesHow to Change Email Logo in magento 2Magento 2: Custom url for state=onsale produtcsMagento 2: Font family does not change. How to troubleshoot?Add right column menu items in Admin - Magento 2How to change row subtotal with custom price in cart?Magento 2: Product List Not Showing in Catalog and Search






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















I'm using Magento 2 with a custom theme , and I'm trying to change the number of items per row in the catalog. Now I'm having 3 items per row , and I'm trying to get 4.. what's the right file to edit to change that , as I have already changed from the admin panel - configuration - catalog - Products per page on list allowed to 6,12,16,22,26 , but there are still 3..










share|improve this question






















  • What is your custom theme's parent theme? luma or blank?

    – Mike
    May 27 '16 at 16:38











  • My parent theme is Magento Blank !

    – alexcr
    May 27 '16 at 17:27











  • Above solution doesnt work in magento 2.3

    – Gaurav Daware
    Jun 26 at 18:24











  • This does not provide an answer to the question. Once you have sufficient reputation you will be able to comment on any post; instead, provide answers that don't require clarification from the asker. - From Review

    – Jai
    Jun 26 at 19:00

















0















I'm using Magento 2 with a custom theme , and I'm trying to change the number of items per row in the catalog. Now I'm having 3 items per row , and I'm trying to get 4.. what's the right file to edit to change that , as I have already changed from the admin panel - configuration - catalog - Products per page on list allowed to 6,12,16,22,26 , but there are still 3..










share|improve this question






















  • What is your custom theme's parent theme? luma or blank?

    – Mike
    May 27 '16 at 16:38











  • My parent theme is Magento Blank !

    – alexcr
    May 27 '16 at 17:27











  • Above solution doesnt work in magento 2.3

    – Gaurav Daware
    Jun 26 at 18:24











  • This does not provide an answer to the question. Once you have sufficient reputation you will be able to comment on any post; instead, provide answers that don't require clarification from the asker. - From Review

    – Jai
    Jun 26 at 19:00













0












0








0








I'm using Magento 2 with a custom theme , and I'm trying to change the number of items per row in the catalog. Now I'm having 3 items per row , and I'm trying to get 4.. what's the right file to edit to change that , as I have already changed from the admin panel - configuration - catalog - Products per page on list allowed to 6,12,16,22,26 , but there are still 3..










share|improve this question














I'm using Magento 2 with a custom theme , and I'm trying to change the number of items per row in the catalog. Now I'm having 3 items per row , and I'm trying to get 4.. what's the right file to edit to change that , as I have already changed from the admin panel - configuration - catalog - Products per page on list allowed to 6,12,16,22,26 , but there are still 3..







magento2 items






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked May 27 '16 at 14:44









alexcralexcr

6576 gold badges23 silver badges51 bronze badges




6576 gold badges23 silver badges51 bronze badges












  • What is your custom theme's parent theme? luma or blank?

    – Mike
    May 27 '16 at 16:38











  • My parent theme is Magento Blank !

    – alexcr
    May 27 '16 at 17:27











  • Above solution doesnt work in magento 2.3

    – Gaurav Daware
    Jun 26 at 18:24











  • This does not provide an answer to the question. Once you have sufficient reputation you will be able to comment on any post; instead, provide answers that don't require clarification from the asker. - From Review

    – Jai
    Jun 26 at 19:00

















  • What is your custom theme's parent theme? luma or blank?

    – Mike
    May 27 '16 at 16:38











  • My parent theme is Magento Blank !

    – alexcr
    May 27 '16 at 17:27











  • Above solution doesnt work in magento 2.3

    – Gaurav Daware
    Jun 26 at 18:24











  • This does not provide an answer to the question. Once you have sufficient reputation you will be able to comment on any post; instead, provide answers that don't require clarification from the asker. - From Review

    – Jai
    Jun 26 at 19:00
















What is your custom theme's parent theme? luma or blank?

– Mike
May 27 '16 at 16:38





What is your custom theme's parent theme? luma or blank?

– Mike
May 27 '16 at 16:38













My parent theme is Magento Blank !

– alexcr
May 27 '16 at 17:27





My parent theme is Magento Blank !

– alexcr
May 27 '16 at 17:27













Above solution doesnt work in magento 2.3

– Gaurav Daware
Jun 26 at 18:24





Above solution doesnt work in magento 2.3

– Gaurav Daware
Jun 26 at 18:24













This does not provide an answer to the question. Once you have sufficient reputation you will be able to comment on any post; instead, provide answers that don't require clarification from the asker. - From Review

– Jai
Jun 26 at 19:00





This does not provide an answer to the question. Once you have sufficient reputation you will be able to comment on any post; instead, provide answers that don't require clarification from the asker. - From Review

– Jai
Jun 26 at 19:00










2 Answers
2






active

oldest

votes


















5














You can find below css styles in [Magento Blank Theme directory]/Magento_Catalog/web/css/source/module/_listings.less line 290 - 295



.products-grid .product-item width: 100%/3 
.page-layout-1column .products-grid .product-item width: 100%/3
.page-layout-3columns .products-grid .product-item width: 100%/3
.page-products .products-grid .product-item width: 100%/3
.page-products.page-layout-1column .products-grid .product-item width: 100%/3
.page-products.page-layout-3columns .products-grid .product-item width: 100%/3


So you can copy this file into your theme directory, then change those widths like below.



.products-grid .product-item width: 100%/4 
.page-layout-1column .products-grid .product-item width: 100%/4
.page-layout-3columns .products-grid .product-item width: 100%/4
.page-products .products-grid .product-item width: 100%/4
.page-products.page-layout-1column .products-grid .product-item width: 100%/4
.page-products.page-layout-3columns .products-grid .product-item width: 100%/4





share|improve this answer























  • Hi @Dmitry , thank you for your time ! I just did so , cleared the cache and everything , but is still on 3 items per row.. any suggestion ?

    – alexcr
    May 28 '16 at 12:30


















0














Changing the values in "Products per Page on Grid Allowed Values" does not change the number of products per row. It simply changes the options available in products per page drop down for pagination. Edit the CSS to change the number of products per row as was already stated in Dmitry's answer (Although he did not provide all the CSS that may need to be changed). If that didn't work there may be an issue with magento incorporating your CSS changes like not putting the custom CSS file in the correct folder or not clearing the pub/static and var/view_preprocessed folders.






share|improve this answer



























    Your Answer








    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "479"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f117311%2fmagento-2-change-number-of-items-per-row%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    5














    You can find below css styles in [Magento Blank Theme directory]/Magento_Catalog/web/css/source/module/_listings.less line 290 - 295



    .products-grid .product-item width: 100%/3 
    .page-layout-1column .products-grid .product-item width: 100%/3
    .page-layout-3columns .products-grid .product-item width: 100%/3
    .page-products .products-grid .product-item width: 100%/3
    .page-products.page-layout-1column .products-grid .product-item width: 100%/3
    .page-products.page-layout-3columns .products-grid .product-item width: 100%/3


    So you can copy this file into your theme directory, then change those widths like below.



    .products-grid .product-item width: 100%/4 
    .page-layout-1column .products-grid .product-item width: 100%/4
    .page-layout-3columns .products-grid .product-item width: 100%/4
    .page-products .products-grid .product-item width: 100%/4
    .page-products.page-layout-1column .products-grid .product-item width: 100%/4
    .page-products.page-layout-3columns .products-grid .product-item width: 100%/4





    share|improve this answer























    • Hi @Dmitry , thank you for your time ! I just did so , cleared the cache and everything , but is still on 3 items per row.. any suggestion ?

      – alexcr
      May 28 '16 at 12:30















    5














    You can find below css styles in [Magento Blank Theme directory]/Magento_Catalog/web/css/source/module/_listings.less line 290 - 295



    .products-grid .product-item width: 100%/3 
    .page-layout-1column .products-grid .product-item width: 100%/3
    .page-layout-3columns .products-grid .product-item width: 100%/3
    .page-products .products-grid .product-item width: 100%/3
    .page-products.page-layout-1column .products-grid .product-item width: 100%/3
    .page-products.page-layout-3columns .products-grid .product-item width: 100%/3


    So you can copy this file into your theme directory, then change those widths like below.



    .products-grid .product-item width: 100%/4 
    .page-layout-1column .products-grid .product-item width: 100%/4
    .page-layout-3columns .products-grid .product-item width: 100%/4
    .page-products .products-grid .product-item width: 100%/4
    .page-products.page-layout-1column .products-grid .product-item width: 100%/4
    .page-products.page-layout-3columns .products-grid .product-item width: 100%/4





    share|improve this answer























    • Hi @Dmitry , thank you for your time ! I just did so , cleared the cache and everything , but is still on 3 items per row.. any suggestion ?

      – alexcr
      May 28 '16 at 12:30













    5












    5








    5







    You can find below css styles in [Magento Blank Theme directory]/Magento_Catalog/web/css/source/module/_listings.less line 290 - 295



    .products-grid .product-item width: 100%/3 
    .page-layout-1column .products-grid .product-item width: 100%/3
    .page-layout-3columns .products-grid .product-item width: 100%/3
    .page-products .products-grid .product-item width: 100%/3
    .page-products.page-layout-1column .products-grid .product-item width: 100%/3
    .page-products.page-layout-3columns .products-grid .product-item width: 100%/3


    So you can copy this file into your theme directory, then change those widths like below.



    .products-grid .product-item width: 100%/4 
    .page-layout-1column .products-grid .product-item width: 100%/4
    .page-layout-3columns .products-grid .product-item width: 100%/4
    .page-products .products-grid .product-item width: 100%/4
    .page-products.page-layout-1column .products-grid .product-item width: 100%/4
    .page-products.page-layout-3columns .products-grid .product-item width: 100%/4





    share|improve this answer













    You can find below css styles in [Magento Blank Theme directory]/Magento_Catalog/web/css/source/module/_listings.less line 290 - 295



    .products-grid .product-item width: 100%/3 
    .page-layout-1column .products-grid .product-item width: 100%/3
    .page-layout-3columns .products-grid .product-item width: 100%/3
    .page-products .products-grid .product-item width: 100%/3
    .page-products.page-layout-1column .products-grid .product-item width: 100%/3
    .page-products.page-layout-3columns .products-grid .product-item width: 100%/3


    So you can copy this file into your theme directory, then change those widths like below.



    .products-grid .product-item width: 100%/4 
    .page-layout-1column .products-grid .product-item width: 100%/4
    .page-layout-3columns .products-grid .product-item width: 100%/4
    .page-products .products-grid .product-item width: 100%/4
    .page-products.page-layout-1column .products-grid .product-item width: 100%/4
    .page-products.page-layout-3columns .products-grid .product-item width: 100%/4






    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered May 28 '16 at 2:06









    MikeMike

    1,0672 gold badges13 silver badges24 bronze badges




    1,0672 gold badges13 silver badges24 bronze badges












    • Hi @Dmitry , thank you for your time ! I just did so , cleared the cache and everything , but is still on 3 items per row.. any suggestion ?

      – alexcr
      May 28 '16 at 12:30

















    • Hi @Dmitry , thank you for your time ! I just did so , cleared the cache and everything , but is still on 3 items per row.. any suggestion ?

      – alexcr
      May 28 '16 at 12:30
















    Hi @Dmitry , thank you for your time ! I just did so , cleared the cache and everything , but is still on 3 items per row.. any suggestion ?

    – alexcr
    May 28 '16 at 12:30





    Hi @Dmitry , thank you for your time ! I just did so , cleared the cache and everything , but is still on 3 items per row.. any suggestion ?

    – alexcr
    May 28 '16 at 12:30













    0














    Changing the values in "Products per Page on Grid Allowed Values" does not change the number of products per row. It simply changes the options available in products per page drop down for pagination. Edit the CSS to change the number of products per row as was already stated in Dmitry's answer (Although he did not provide all the CSS that may need to be changed). If that didn't work there may be an issue with magento incorporating your CSS changes like not putting the custom CSS file in the correct folder or not clearing the pub/static and var/view_preprocessed folders.






    share|improve this answer





























      0














      Changing the values in "Products per Page on Grid Allowed Values" does not change the number of products per row. It simply changes the options available in products per page drop down for pagination. Edit the CSS to change the number of products per row as was already stated in Dmitry's answer (Although he did not provide all the CSS that may need to be changed). If that didn't work there may be an issue with magento incorporating your CSS changes like not putting the custom CSS file in the correct folder or not clearing the pub/static and var/view_preprocessed folders.






      share|improve this answer



























        0












        0








        0







        Changing the values in "Products per Page on Grid Allowed Values" does not change the number of products per row. It simply changes the options available in products per page drop down for pagination. Edit the CSS to change the number of products per row as was already stated in Dmitry's answer (Although he did not provide all the CSS that may need to be changed). If that didn't work there may be an issue with magento incorporating your CSS changes like not putting the custom CSS file in the correct folder or not clearing the pub/static and var/view_preprocessed folders.






        share|improve this answer















        Changing the values in "Products per Page on Grid Allowed Values" does not change the number of products per row. It simply changes the options available in products per page drop down for pagination. Edit the CSS to change the number of products per row as was already stated in Dmitry's answer (Although he did not provide all the CSS that may need to be changed). If that didn't work there may be an issue with magento incorporating your CSS changes like not putting the custom CSS file in the correct folder or not clearing the pub/static and var/view_preprocessed folders.







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Mar 13 '18 at 8:18









        Teja Bhagavan Kollepara

        3,0014 gold badges20 silver badges51 bronze badges




        3,0014 gold badges20 silver badges51 bronze badges










        answered Sep 16 '16 at 19:35









        Cypher909Cypher909

        2171 silver badge5 bronze badges




        2171 silver badge5 bronze badges



























            draft saved

            draft discarded
















































            Thanks for contributing an answer to Magento Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f117311%2fmagento-2-change-number-of-items-per-row%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Get product attribute by attribute group code in magento 2get product attribute by product attribute group in magento 2Magento 2 Log Bundle Product Data in List Page?How to get all product attribute of a attribute group of Default attribute set?Magento 2.1 Create a filter in the product grid by new attributeMagento 2 : Get Product Attribute values By GroupMagento 2 How to get all existing values for one attributeMagento 2 get custom attribute of a single product inside a pluginMagento 2.3 How to get all the Multi Source Inventory (MSI) locations collection in custom module?Magento2: how to develop rest API to get new productsGet product attribute by attribute group code ( [attribute_group_code] ) in magento 2

            Category:9 (number) SubcategoriesMedia in category "9 (number)"Navigation menuUpload mediaGND ID: 4485639-8Library of Congress authority ID: sh85091979ReasonatorScholiaStatistics

            Magento 2.3: How do i solve this, Not registered handle, on custom form?How can i rewrite TierPrice Block in Magento2magento 2 captcha not rendering if I override layout xmlmain.CRITICAL: Plugin class doesn't existMagento 2 : Problem while adding custom button order view page?Magento 2.2.5: Overriding Admin Controller sales/orderMagento 2.2.5: Add, Update and Delete existing products Custom OptionsMagento 2.3 : File Upload issue in UI Component FormMagento2 Not registered handleHow to configured Form Builder Js in my custom magento 2.3.0 module?Magento 2.3. How to create image upload field in an admin form