• Resolved dougllio

    (@dougllio)


    I was able to get this plugin working on Chrome and Firefox browsers but not on any Apple Browser or on Epiphany Webkit browser. Not sure what to look for to troubleshoot.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Rafik

    (@rafikwp)

    Hello,

    Thanks for reaching here.
    Can you please provide page URL so we can check and help you.

    Thanks

    Thread Starter dougllio

    (@dougllio)

    I managed to code a workaround. It seems the slider was not getting initialized so I added code to check after 500ms if the slick components were added and if not call the initialization code again. The code is a copy so obviously if there are changes to the plugin, this workaround will need to be updated. Here is the url.

    jQuery(function($) {
    	setInterval(function(){
    		$( '.wcpscwc-product-slider' ).each(function( index ) {
    			var slick = $(this).find('.slick-track');
    			var slicklength = slick.length;
    			if (slicklength == 0) {
    				var slider_id   = $(this).attr('id');
    				var slider_conf = $.parseJSON( $(this).closest('.wcpscwc-product-slider-wrap').find('.wcpscwc-slider-conf').attr('data-conf'));
    				var slider_cls	= slider_conf.slider_cls ? slider_conf.slider_cls : 'products';
    					jQuery('#'+slider_id+' .'+slider_cls).slick({
    ...

    The original code seemed to always work on Firefox, 50% of the time on Chrome, but almost never on iOS Safari or Epiphany. I am not sure if there are conflicts on the page but the delayed check that I added seems to work for all cases.

    • This reply was modified 5 years, 2 months ago by dougllio.
    • This reply was modified 5 years, 2 months ago by dougllio.
    Plugin Support Rafik

    (@rafikwp)

    Hello,

    Thanks for sharing the code.
    Now your shared code is working, right? we will check it.

    Thanks

    • This reply was modified 5 years, 2 months ago by Rafik.
    • This reply was modified 5 years, 2 months ago by Rafik.
    Thread Starter dougllio

    (@dougllio)

    Yes it is working.

    Plugin Contributor Ketan Patel

    (@patelketan)

    Hello,

    If you like our plugin please give you an important Rate and Review Here…

    Thanks,

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Slider not showing on Safari/webkit browsers’ is closed to new replies.