Tagged: x
-
AuthorPosts
-
February 27, 2017 at 11:47 am #1387577
Michael CParticipantBuilding a new site and all is well except for accordions on mobile. I have looked thru all the forums and have tried all the ccs and javascript codes that you have provided to others, but none are correcting the challenge on this site.
The accordions are in the “Areas of Law” pages.
Thank you in advance.
February 27, 2017 at 11:48 am #1387579
Michael CParticipantThis reply has been marked as private.February 27, 2017 at 11:58 am #1387590
RupokMemberHi there,
I guess you forgot to share your URL. Let’s give it as well.
Cheers!
February 27, 2017 at 12:36 pm #1387648
Michael CParticipantThis reply has been marked as private.February 27, 2017 at 3:18 pm #1387861
Nabeel AModeratorHi again,
To fix the issue, please add the following jQuery script in your Customizer via Appearance > Customize > Custom > Edit Global Javascript
jQuery( function($) { $('.x-accordion-heading a').on('click', function( e ){ setTimeout( function() { $('html, body').stop().stop(); }, 100 ); }); $(document).ready(function() { $('.x-accordion-heading a').off('click touchstart touchend'); }); });Don’t forget to clear your browser’s cache after adding the code. Let us know how this goes!
February 28, 2017 at 10:41 am #1388974
Michael CParticipantAnother perfect piece of code from X. You guys ROCK! Thx
February 28, 2017 at 11:09 am #1389019
JoaoModeratorGlad to hear it 🙂
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1387577 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
