Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • xlweb Developer
    #204627

    Hi.

    On Uber University, the Back to top button does not show. I have tried to install a new Joomla with Uber as well. The back button does not show there either…

    I have also searched the documentation without any result. The footer.php in /tpls/blocks contain the standard
    <!– BACK TOP TOP BUTTON –>

    Text as explained in the documentation.

    Would be nice if someone could take a look at this.

    Pankaj Sharma Moderator
    #563040

    Hi
    Try this
    Go to /templates/Your JA Templates/acm/footer/tmpl/style-1.php

    Find this code :

    <?php if($enableBackToTop): ?>
    <!-- BACK TOP TOP BUTTON -->
    <div id="back-to-top-<?php echo $module->id; ?>" 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-arrow-up"></i></button>
    </div>
    <script>
    (function($) {
    // Back to top
    $('.back-to-top').on('click', function(){
    $("html, body").animate({scrollTop: 0}, 500);
    return false;
    });
    })(jQuery);
    </script>
    <!-- BACK TO TOP BUTTON -->
    <?php endif; ?>

    Change it into

    <!-- BACK TOP TOP BUTTON -->
    <div id="back-to-top-<?php echo $module->id; ?>" 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-arrow-up"></i></button>
    </div>
    <script>
    (function($) {
    // Back to top
    $('.back-to-top').on('click', function(){
    $("html, body").animate({scrollTop: 0}, 500);
    return false;
    });
    })(jQuery);
    </script>
    <!-- BACK TO TOP BUTTON -->

    Clear cache and check .
    Take a backup of site before applying changes .

    Let me know if it helps

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

This topic contains 2 replies, has 2 voices, and was last updated by  Pankaj Sharma 9 years, 7 months ago.

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