Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • jchungerford Friend
    #938232

    I am using several JA templates and JA Directory has the scroll to top embedded. I use a third-party scrolltop extension for other templates., How can I remove the embedded scrolltop in JA Directory?

    Or can I easily add the embedded one into other JA Templates since I use only your templates?

    Pankaj Sharma Moderator
    #938316

    Hi
    To remove back to top button
    Go to /tpls/blocks/footer.php file , Find and remove below code

    
    <!-- BACK TOP TOP BUTTON -->
    <div id="back-to-top" data-spy="affix" data-offset-top="300" class="back-to-top hidden-xs hidden-sm affix-top">
      <button class="btn btn-primary" title="Back to Top"><i class="fa fa-angle-up"></i></button>
    </div>
    
    <script type="text/javascript">
    (function($) {
      // Back to top
      $('#back-to-top').on('click', function(){
        $("html, body").animate({scrollTop: 0}, 500);
        return false;
      });
    })(jQuery);
    &lt;/script&gt;
    <!-- BACK TO TOP BUTTON -->

    please note tag replace by </script> in above code due to editor issue .

    jchungerford Friend
    #938371

    Thanks!

    jujujiju Friend
    #948862

    Hello! I want to remove the embedded scrolltop of the items created with "K2" button. How can I do?

    Pankaj Sharma Moderator
    #949041

    Hello! I want to remove the embedded scrolltop of the items created with "K2" button. How can I do?

    Please check the suggestions given here to remove back to top button .

Viewing 5 posts - 1 through 5 (of 5 total)

This topic contains 4 replies, has 3 voices, and was last updated by  Pankaj Sharma 8 years, 4 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum