Tagged: x
-
AuthorPosts
-
November 19, 2016 at 2:57 am #1263452
form2functionParticipantHi there!
I’m currently having a few different issues with a site under development, after updating to the latest versions. I might make separate posts for these issues, but first I wanted some assistance with a jQuery issue we’re having.
Right now we have a jQuery in Customizer that overrides the mousewheel to scroll to sections of the site. This works fine in a fiddle, and also in Customizer when previewing the site, but doesn’t seem to work on the site itself.
Does anyone have any ideas on why this might not be working? Any assistance would be appreciated.
November 19, 2016 at 3:01 am #1263456
form2functionParticipantThis reply has been marked as private.November 19, 2016 at 3:04 am #1263460
RadModeratorHi there,
Thanks for writing in.
What should it do and what purpose? X theme has its own set of scrolling effect too and you may need to use off() to unregister some effect or event.
Please provide your site’s URL, and the URL where it’s working. I can’t promise a solution, but I’ll try it first to see if it’s possible.
Thanks!
November 19, 2016 at 3:32 am #1263471
form2functionParticipantThis reply has been marked as private.November 19, 2016 at 3:50 am #1263481
RadModeratorHi there,
You don’t have to add
<script></script>in customizer’s custom javascript. It’s purely for javascript only and not for embed codes.I removed them and fixed your code and it’s now working 🙂
From
jQuery(document).ready(function() {to
jQuery(document).ready(function($) {`
Cheers!
November 19, 2016 at 3:56 am #1263487
form2functionParticipantAha! Quick and breezy, thanks so much Rad!
I’ll keep you posted with any other issues we’re having since the latest updates, but for now you’ve been of great help as always.
Cheers!
November 19, 2016 at 4:08 am #1263490
RadModeratorYou’re so much welcome! Sure, please let us know 😉
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1263452 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
