Guest User

Untitled

a guest
May 16th, 2018
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. jQuery(function() {
  2. jQuery('.elementor-icon-list-items li:nth-child(3) > a').click(function() {
  3. if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') && location.hostname == this.hostname) {
  4. var target = jQuery(this.hash);
  5. target = target.length ? target : jQuery('[name=' + this.hash.slice() +']');
  6. if (target.length) {
  7. var tp = target.offset().top - 90;
  8. jQuery('html,body').animate({
  9. scrollTop: tp,
  10. }, 1000);
  11. return false;
  12. }
  13. }
  14. });
  15. });
Add Comment
Please, Sign In to add comment