Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • timbusel Friend
    #848064

    how set grid 5 row in product category as on demo?


    1. Untitled-11
    Ninja Lead Moderator
    #848317

    Hi,

    I have verified that your request on Mijoshop component but it doesn’t option to do this but you can use this way to change it to grid-5 on your site

    Open components/com_mijoshop/opencart/catalog/view/javascript/common.js file

    • find and change
      jQuery('#content_oc .product-layout:nth-child(4n+4)').after('<div class="clearfix"></div>');

    to

    jQuery('#content_oc .product-layout:nth-child(5n+5)').after('<div class="clearfix"></div>');
    • find and change
      jQuery('#content_oc .product-layout').attr('class', 'product-layout product-grid col-lg-3 col-md-3 col-sm-6 col-xs-12');

    to

    jQuery('#content_oc .product-layout').attr('class', 'product-layout product-grid col-lg-2 col-md-3 col-sm-6 col-xs-12');

    Hope it helps

    Regards

    timbusel Friend
    #866816

    it works, thank you

Viewing 3 posts - 1 through 3 (of 3 total)

This topic contains 2 replies, has 2 voices, and was last updated by  timbusel 8 years, 10 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum