• Resolved okpaul

    (@okpaul)


    Hi, is there a way to have a different number of “slides to show” on tablet vs desktop. It looks like they have to both be the same number. On mobile it defaults to 1 which is great, but I’m looking to have 3 on tablet and 7 on desktop

    Thanks

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Support baljitdhanjal

    (@baljitdhanjal)

    Hi @okpaul,

    Thanks for using our plugin.
    In order to show different number of “slides to show” on tablet, you have to make changes in plugin code manually.

    In plugins\timeline-widget-addon-for-elementor\assets\js\twae-horizontal.js file

    Replace breakpoints with below mentioned code and then minify twae-horizontal.js file.

     breakpoints: {
                        280: {
                            slidesPerView: 1,
                        },
                        768:{
                            slidesPerView: 3, 
                        },
                        1024: {
                            slidesPerView: slidestoshow,
                        }
                    },

    Let me know if you need further assistance.

    Thanks

    Thread Starter okpaul

    (@okpaul)

    Thanks, there are two files in that folder:

    twae-horizontal.js
    twae-horizontal.min.js

    I have made the change in just the twae-horizontal.min.js file and left the twae-horizontal.js file untouched. However that has not worked and I still see 7 steps in tablet mode.

    Hope you can help
    Thanks
    Paul

    Thread Starter okpaul

    (@okpaul)

    I have also tried making the changes in both the .js and min.js files but still no luck.

    Plugin Support baljitdhanjal

    (@baljitdhanjal)

    Hi @okpaul,

    Please share your website specific page URL, where you are using our plugin.
    So, that I may check the issue.

    Thanks

    Thread Starter okpaul

    (@okpaul)

    Thanks, it is a site currently under development: https://iceqube3030.dreamhosters.com/for-individuals/

    Plugin Support baljitdhanjal

    (@baljitdhanjal)

    Hi @okpaul,

    I have checked your website and the above shared breakpoints not updatd inside twae-horizontal.min.js file.
    If you are using any cache or optimize plugin then please clear cache.

    Thanks

    Thread Starter okpaul

    (@okpaul)

    Thanks, I have just made the update in both the js and min.js file so they are now identical. I don’t have any cache or optimize plugins.

    Paul

    Thread Starter okpaul

    (@okpaul)

    Scrub that, it now works. Thanks for your help
    Paul

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Different number of “slides to show” on tablet’ is closed to new replies.