DV team dot working on touchscreen devices

Hi,
I encountered an issue with the popular plugin called DV Team Responsive- click on the grid item should be triggering to open a modal, but it’s not working on touchscreen devices.

I tried this suggestion and it didn’t help.

Hi Shay,

Thank you for reaching out to us. I checked your site and tried to find the page in question but couldn’t find it however i noticed you’ve WP Rocket installed and the content of your site is being served by the cache, this could be preventing the code to work. Please clear all caches ( WP Rocket and browser’s cache ) and deactivate the WP Rocket plugin and other optimization services you’ve and check the page again with the code suggested here https://theme.co/apex/forum/t/dv-team-responsive/17170/6

If the problem persists then please share the page URL in question so we can take a closer look. Let us know how this goes!

Hi Nebeel,
Thanks for your response!
Please see the attached link and let me know your thoughts.
I guess the last theme changes unable the tapping functionality.

Regarding WP-rocket, I don’t see reason for issue with JS code as I tried via the theme custom JS and also using WP Bakery custom JS.

Hey Shay,

Thank you for providing the URL. To fix the issue, please add the following code in the Theme Options > JS:

jQuery(document).ready(function($){
	$('li[id^="dvteamid-"]').on('touchend touchstart', function(){
		$(this).find("a").click();
	})
});

Don’t forget to clear all caches including your browser’s cache after adding the code. Let us know how this goes!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.