How to prevent delay and bounce of Service-wrap info

Home Forums Kraft Theme Support How to prevent delay and bounce of Service-wrap info

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #16193
    Kirsten McHarg
    Member
    • Topics: 5
    • Replies: 0
    • Total: 5
    Member since: October 11, 2015

    Hello again,
    The services-wrap information on the home page has a default setting making the content bounce in to the screen with a delay as the page is scrolled down.
    Is it possible to prevent that from happening so that the content displays as static information? I want to retain the other css qualities of that section.
    Thanks

    #16218
    Forum Moderator
    Participant
    • Topics: 0
    • Replies: 25536
    • Total: 25536
    Member since: August 16, 2013

    Hi,

    Kindly go to Theme>Js>Custom.js

    Find this code and delete it:

    jQuery('.services-wrap').each(function(){
      var imagePos = jQuery(this).offset().top;
    
      var topOfWindow = jQuery(window).scrollTop();
       if (imagePos < topOfWindow+400) {
        jQuery(this).addClass("fadeInLeft");
       }
      });
    

    After That go to Appearance>Theme Option>Basic Setting>Custom Css Box:
    Paste this Css code in Custom css box:
    .services-wrap {visibility:visible;}

    Regards,
    Shri

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.