Tagged: x
-
AuthorPosts
-
September 3, 2016 at 9:15 am #1159705
MohannadParticipantHi,
When I click on (one page navigation) it jump immediately to the section with out showing any scrolling down or up effects.
WordPress version 4.6
X themes 4.6.1
Cornerstone 1.3.1September 3, 2016 at 8:14 pm #1160105
Rue NelModeratorHello There,
Thanks for writing in! You could try testing for a plugin conflict. You can do this by deactivating all third party plugins, and seeing if the problem remains. If it’s fixed, you’ll know a plugin caused the problem, and you can narrow down which one by reactivating them one at a time.
If nothing else works, would you mind providing us the ftp login credentials so we can take a closer look? This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your credentials, we will be happy to assist you with everything.
To do this, you can make a post with the following info:
– Link to your site
– WordPress Admin username / password
– FTP Hostname
– FTP Username
– FTP PasswordDon’t forget to select Set as private reply. This ensures your information is only visible to our staff.
Thank you.
September 7, 2016 at 1:00 am #1164008
MohannadParticipantThis reply has been marked as private.September 7, 2016 at 1:38 am #1164023
MohannadParticipantHi, suddenly After I updated Themeco to 4.6.2 google map not working any more
Thank youSeptember 7, 2016 at 7:13 am #1164338
Paul RModeratorHi,
Please add your google api key.
http://screencast.com/t/OGdsmkOx0
With regards to scroll, I was able to fix it by adding this in your custom > Edit Global javascript
jQuery(document).ready(function($) { var $body = $('body'); var bodyHeight = $body.outerHeight(); var adminbarHeight = $('#wpadminbar').outerHeight(); var navbarFixedTopHeight = $('.x-navbar-fixed-top-active .x-navbar').outerHeight(); var locHref = location.href; var locHashIndex = locHref.indexOf('#'); var locHash = locHref.substr(locHashIndex); // // Calculate the offset height for various elements and remove it from // the element's top offset so that fixed elements don't cover it up. // function animateOffset( element, ms, easing ) { $('html, body').animate({ scrollTop: $(element).offset().top - adminbarHeight - navbarFixedTopHeight + 1 }, ms, easing); } // // Page load offset (if necessary). // $(window).load(function() { if ( locHashIndex !== -1 && $(locHash).length ) { animateOffset(locHash, 1, 'linear'); } }); // // Scroll trigger. // $('a[href*="#"]').on('touchstart click', function(e) { $href = $(this).attr('href'); notComments = $href.indexOf('#comments') === -1; notAccordion = $href.indexOf('#collapse-') === -1; notTabbedContent = $href.indexOf('#tab-') === -1; if ( $href !== '#' && notComments && notAccordion && notTabbedContent ) { var theId = $href.split('#').pop(); var $el = $('#' + theId); if ( $el.length > 0 ) { e.preventDefault(); animateOffset($el, 850, 'easeInOutExpo'); } } }); // // Initialize scrollspy. // if ( $body.hasClass('x-one-page-navigation-active') ) { $body.scrollspy({ target : '.x-nav-wrap.desktop', offset : adminbarHeight + navbarFixedTopHeight }); // // Refresh scrollspy as needed. // $(window).resize(function() { $body.scrollspy('refresh'); }); var timesRun = 0; var interval = setInterval(function() { timesRun += 1; var newBodyHeight = $body.outerHeight(); if ( newBodyHeight !== bodyHeight ) { $body.scrollspy('refresh'); } if ( timesRun === 10 ) { clearInterval(interval); } }, 500); } });September 7, 2016 at 8:58 am #1164480
MohannadParticipantThank you Paul,
The code works fine on chrome browser but did not work using IE and Edge.
September 7, 2016 at 4:54 pm #1165227
RadModeratorHi there,
It’s scrolling smoothly on my end, please clear your browser cache before testing. For the meantime, please provide a video recording of what you’re currently getting.
Thanks!
September 10, 2016 at 3:33 am #1169067
MohannadParticipantThis reply has been marked as private.September 10, 2016 at 3:26 pm #1169503
RadModeratorHi there,
It works smoothly on my IE and Edge. Can you try removing this code?
// // Initialize scrollspy. // if ( $body.hasClass('x-one-page-navigation-active') ) { $body.scrollspy({ target : '.x-nav-wrap.desktop', offset : adminbarHeight + navbarFixedTopHeight }); // // Refresh scrollspy as needed. // $(window).resize(function() { $body.scrollspy('refresh'); }); var timesRun = 0; var interval = setInterval(function() { timesRun += 1; var newBodyHeight = $body.outerHeight(); if ( newBodyHeight !== bodyHeight ) { $body.scrollspy('refresh'); } if ( timesRun === 10 ) { clearInterval(interval); } }, 500); }Thanks!
September 17, 2016 at 2:27 am #1179145
MohannadParticipantHi Rad,
When I removed the above code, The scrolling effect stop working.
thank you,
September 17, 2016 at 3:47 am #1179177
Rue NelModeratorHello Again,
This could be just a browser caching issue in your IE or Edge. I would suggest that you clear your browser cache or use the Private mode browsing and test your site again. To refresh your cache, please check out this links:
http://refreshyourcache.com/en/windows/
http://refreshyourcache.com/en/internet-explorer-11/
http://acer–uk.custhelp.com/app/answers/detail/a_id/38047/~/microsoft-edge%3A-how-to-clear-browser-history-and-cacheHope this helps.
September 17, 2016 at 6:15 am #1179261
MohannadParticipantHi ,
I solved the problem ,by coping the jQuery in two places
1-cornerstone-> custom js
2-appearance-> customize -> edit java global script
if I removed the script from one of above places it will immediately start working in funny way using IE & Edge, But now it is working smoothly when I kept the script in the two places .
it’s better if you forward this issue to your developer team, to solve this incompatibility in future.
Thank you ,
September 17, 2016 at 4:11 pm #1179599
RadModeratorSure, will forward that. Thanks!
September 18, 2016 at 2:05 am #1179937
MohannadParticipantHi ,
ubermenu plugin it was causing the problem, jQuery code not required, the moment I disabled ubermenu every thing work perfectly with out the code in all browser.thank you
September 18, 2016 at 3:11 am #1179985
Rue NelModeratorHello There,
We are just glad that you have figured it out a way to correct the said issue.
Thanks for letting us know!Best Regards.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1159705 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
