Tagged: x
-
AuthorPosts
-
October 4, 2016 at 6:17 pm #1202626
Funeral StudioParticipantHello Support team, i have previously applied a JS fix that you provided, but its not working, The accordions don’t work on mobile phones on touch. Below is the code i have used previously, please have a check and provide me a fix.
jQuery(document).ready(function($) {
if ( $(‘html’).hasClass(‘touchevents’) ) {
$(‘.vc_tta.vc_general .vc_tta-panel-title > a, .vc_tta.vc_general .vc_tta-panel-title > a’).off(‘click touchstart touchend’);
}
});jQuery(document).ready(function($) {
$(‘.wpsm_panel-title a’).click(function(e) {
$(‘html, body’).stop();
});
});jQuery(document).ready(function($) {
if ( $(‘html’).hasClass(‘touchevents’) ) {
$(‘.wpsm_panel .wpsm_panel-title > a’).off(‘click touchstart touchend’);
}
});October 4, 2016 at 8:03 pm #1202786
JadeModeratorHi there,
Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:
– Link to your site
– WordPress Admin username / passwordDon’t forget to select Set as private reply. This ensures your information is only visible to our staff.
October 5, 2016 at 2:52 am #1203059
Funeral StudioParticipantThis reply has been marked as private.October 5, 2016 at 3:06 am #1203064
ChristopherModeratorHi there,
Can you confirm that you are fully updated? (Theme and Plugins)
You can find the latest version numbers here: (http://theme.co/changelog/) Then you can compare them to what’s installed on your site.
If you find anything to be out of date, you can review our update guide.
Thanks.
October 5, 2016 at 7:03 am #1203293
Funeral StudioParticipantHello,
I have updated the theme & the plugin to the latest version, It does not help, the accordions on the footer that you see, still don’t work on touch, can you please recheck.
Thank you,
Very much appreciate the support.October 5, 2016 at 8:24 am #1203391
Paul RModeratorHi
You can add this under Custom > Edit Global Javascript in the Customizer.
jQuery(function($) { $( ".wpsm_panel-heading a" ).on( "click touchend", function() { $(this).parent().parent().next('.wpsm_panel-collapse').toggleClass('in'); }); });Hope that helps.
October 5, 2016 at 9:19 pm #1204494
Funeral StudioParticipantHello,
Thanks for the fix, that worked, but now there is another bug, the accordions on this page: http://communityfunerals.com.au/when-someone-dies/#what-do-do have stopped working on touch devices. can you please have a check.
Thank you for your help.
very much appreciated.October 5, 2016 at 10:41 pm #1204564
Rue NelModeratorHello There,
Thanks for the updates! Since you are using SiteGround, could you please disable the supercacher in your hosting panel? The SuperCacher is developed by SiteGround exclusively for their customers. It increases the number of hits a site can handle and boosts the website loading speed. The SuperCacher includes 4 different caching options for maximum optimization of your websites. You can access the tool by clicking on the SuperCacher icon in your cPanel.
For more information about this, please check it out here: https://www.siteground.com/tutorials/supercacher/supercacher_intro.htm
Hope this helps.
October 6, 2016 at 8:34 am #1205058
Funeral StudioParticipantHello,
Supercacher has been disabled since the start, i have not enabled this, can you please recheck.
Thanks for the help.
October 6, 2016 at 1:59 pm #1205543
Nabeel AModeratorHi again,
To fix the issue, just add the following jQuery script in your Customizer via Appearance > Customize > Custom > Edit Global Javascript
jQuery( function($) { $('.vc_tta-tab a').on('click', function( e ){ setTimeout( function() { $('html, body').stop().stop(); console.log('scrolling stopped'); }, 100 ); }); $(document).ready(function() { $('.vc_tta.vc_general .vc_tta-panel-title > a, .vc_tta.vc_general .vc_tta-panel-title > a, .vc_tta-tab a').off('click touchstart touchend'); }); });Don’t forget to clear your browser’s cache after adding the code. Let us know how this goes!
October 9, 2016 at 11:10 pm #1209357
Funeral StudioParticipantHey, That worked! Thanks for all the help, very much appreciated 🙂
October 10, 2016 at 1:54 am #1209458
Paul RModeratorYou’re welcome! 🙂
October 11, 2016 at 12:02 am #1210912
Funeral StudioParticipantHey, There is one more issue now, although it works very well on mobile phones, now none of the accordions work on desktops they open & close immediately. can you please check: http://communityfunerals.com.au/
The footer accordions close right after opening.Thanks for the support.
October 11, 2016 at 3:41 am #1211117
ChristopherModeratorHi there,
Please update your code to :
jQuery( function($) { $('.vc_tta-tab a').on('click touchend', function( e ){ setTimeout( function() { $('html, body').stop().stop(); console.log('scrolling stopped'); }, 100 ); }); $(document).ready(function() { $('.vc_tta.vc_general .vc_tta-panel-title > a, .vc_tta.vc_general .vc_tta-panel-title > a, .vc_tta-tab a').off('click touchstart touchend'); }); });Hope it helps.
October 11, 2016 at 1:11 pm #1211843
Funeral StudioParticipantHey, i have done that, it still does not seem to help. The accordions don’t work on desktops. Can you please have a check on the code that i have added. The login details are in the above messages.
Thanks for the support.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1202626 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
