Brands slider for prestashop 1.7.4.4

Hi Vekia, I am using your free brands slider module in my PS 1.7.4.4. Thanks for the module, it is great but I would like to change the style because there is to many space between brand logos. I also need to show more logos. Could you help me? Thanks


Hello,
to reduce the size of empty spaces between the brand logos and to show more logos you need to:
  1. open modules/mib/views/js/mib.js file
  2. you can find there code like
    var parent_carousel = $("#mypresta_mib").width();
        var item_pc = 4;
        var item_tablet = 3;
        var item_mobile = 1;
        if (parent_carousel > 800){
            var item_pc = 4;
            var item_tablet = 3;
            var item_mobile = 1;
        }

        if (parent_carousel < 800 && parent_carousel < 480){
            var item_pc = 3;
            var item_tablet = 3;
            var item_mobile = 1;
        }

        if (parent_carousel < 480){
            var item_pc = 1;
            var item_tablet = 1;
            var item_mobile = 1;
        }

    to change the number of brands that will appear inside the carousel you need to increase value of parameters
    var item_pc = 4;
    var item_tablet = 3;
    var item_mobile = 1;

The more slides carousel will show, the more the space between logos will be reduced.
Share on Google Plus

About VEKIA

This is a short description in the author block about the author. You edit it by entering text in the "Biographical Info" field in the user admin panel.
    Blogger Comment

0 comments:

Post a comment