Summer Sale | Flat 10% OFF on All Themes Package. Use Coupon Code Summer24 | Limited Time Offer! Buy Now

WordPress Website Templates

Find Professional WordPress themes Easy and Simple to Setup

inner banner

Problem "back to top" button

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #616
    Giampaolo Ribaldi
    Participant

    Hi,

    I have a problem with [back-to-top] button (Footer Back to Top Button)

    When i push it in the footer, the page turn up stopping in Service Lane Text…

    How to fix it?

    Thank You

    #629
    Grace Themes
    Member

    Hi,

    To solve the issue of Footer Back to Top Button, replace the code from line no. 150 in custom.js file of js folder with the below code

    jQuery(document).ready(function(){
    // hide #back-top first
    jQuery(“#back-top”).hide();
    // fade in #back-top
    jQuery(function () {
    jQuery(window).scroll(function () {
    if (jQuery(this).scrollTop() > 500) {
    jQuery(‘#back-top’).fadeIn();
    } else {
    jQuery(‘#back-top’).fadeOut();
    }
    });
    // scroll body to 0px on click
    jQuery(‘#back-top’).click(function () {
    jQuery(‘body,html’).animate({
    scrollTop: 0
    }, 500);
    return false;
    });
    });

    });

    jQuery(document).ready(function() {
    jQuery(‘.cols-4 h5’).each(function(index, element) {
    var heading = jQuery(element);
    var word_array, last_word, first_part;

    word_array = heading.html().split(/\s+/); // split on spaces
    last_word = word_array.pop(); // pop the last word
    first_part = word_array.join(‘ ‘); // rejoin the first words together

    heading.html([first_part, ‘ ‘, last_word, ‘‘].join(”));
    });
    });

    Regards
    Grace Themes

    #632
    Giampaolo Ribaldi
    Participant

    Hi, after this modify, the testimonial section is showed one above the other, and “our project” seciont is not showed.

    #633
    Grace Themes
    Member

    Hi,

    Can you please send the website URL and WordPress admin login details of your site at [email protected] so we can test your website and solve the problem.

    Regards
    Grace Themes

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