Tagged: x
-
AuthorPosts
-
September 12, 2016 at 2:26 am #1170908
AndreiParticipantI had an error with the above accolade, but I corrected it and it still doesn’t work.
September 12, 2016 at 3:10 am #1170972
RadModeratorHi there,
Would you mind providing your login credentials? On my test, seems like the click event is turned off on accordions. Like to disable this script while troubleshooting.
jQuery(document).ready(function() { jQuery(document).on('hover','.thumbnails .zoom', function(){ var photo_fullsize = jQuery(this).attr('href'); jQuery('.woocommerce-main-image img').attr('src', photo_fullsize); }); }); jQuery(document).ready(function($){ $('.x-accordion-heading').click(function(){ $('.x-accordion-heading').next().toggle(); $('.accordion-body.collapse').hide(); $(this).next().toggle(); }); }); jQuery(".related.products h2").html("You may also like");Thanks!
September 12, 2016 at 7:37 am #1171235
AndreiParticipantThis reply has been marked as private.September 13, 2016 at 12:00 am #1172527
Paul RModeratorHi Andrei,
Please replace your code in Custom > Javascript with this.
jQuery(document).ready(function() { jQuery(document).on('hover','.thumbnails .zoom', function(){ var photo_fullsize = jQuery(this).attr('href'); jQuery('.woocommerce-main-image img').attr('src', photo_fullsize); }); }); jQuery(document).ready(function($){ $('.x-accordion-heading').on( "click touchend", function() { $('.x-accordion-heading').next().toggle(); $('.accordion-body.collapse').hide(); $(this).next().toggle(); }); }); jQuery(".related.products h2").html("You may also like");Hope that helps
September 15, 2016 at 9:55 am #1176716
AndreiParticipantHi Paul,
Thank you for your quick reply, but unfortunately it doesn’t work.
September 15, 2016 at 12:37 pm #1176933
AndreiParticipantIt works. Thank you very much. I appreciate it.
September 15, 2016 at 12:40 pm #1176937
RupokMemberYou are welcome!
Glad that it helped. Feel free to let us know if you face any other issue. We’ll be happy to assist you.
Thanks for using X.
Cheers!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1166476 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
