[Resolved] Auto scroll to top

  • Author
    Posts
  • #5180

    Eros Di Pietro
    Participant

    Good morning,
    after update my site have an auto scroll to top. Possible disable this?
    Site is http://www.lextel.it
    Thanks you so much
    Regards
    Eros Di Pietro

    #5181

    Andrew Misplon
    Keymaster

    Hi Eros

    Thanks for posting. I’m not sure why the state of that setting would have changed. It seems to be working normally in my demo. Please, can you go to Appearance > Customize > Theme Settings > Navigation and disable it there. Let me know how it goes.

    #5184

    Eros Di Pietro
    Participant

    Hi, this settings disable only the scroll to top button. but when i refresh the page see the auto scroll to top.
    in two site have the problem. in other site without update don’t have the problem.
    Sorry form my English 🙂

    regards
    EDP

    #5186

    Andrew Misplon
    Keymaster

    Is this the element you’re asking about?

    If so, have you tried to clear your caching plugin and if that doesn’t help, clear your cache and then disable it. Any difference?

    #5187

    Eros Di Pietro
    Participant

    i wont the butto to scroll. don’t wont the auto scroll after refresh page. see video please.
    http://download.lextel.it/downl/erospuroultra/Video_102234.wmv
    first and second site update, 3rd site no update

    thanks
    regards

    #5188

    Andrew Misplon
    Keymaster

    Not sure I understand. Are you saying that the page scroll speed is being changed? Ultra, to my knowledge, is not doing that.

    #5189

    Andrew Misplon
    Keymaster

    Ok, I see. Give me a moment, please.

    #5190

    Andrew Misplon
    Keymaster

    Hi Eros, thanks for raising this. We’ve just done a lot of work to get the one-page aspect of the theme working correctly. You can see the demo here.

    We’ll need a little time to work on a solution for the scroll to position issue you’ve raised. I’ll reply as soon as I have an update. Thanks again for your feedback.

    #5191

    Eros Di Pietro
    Participant

    Also in the demo I see a misbehaving

    Video demo puro

    i wait your update.
    thank’s you so much

    #5192

    Andrew Misplon
    Keymaster

    Phew, ok, I’m not sure when I user would be doing this, it’s not really a normal use case, but I see your point of view.

    #5194

    Andrew Misplon
    Keymaster

    Here is a solution for the short term.

    1. If you aren’t using a child theme install the plugin Code Snippets. Go to Snippets > Add New and create a snippet as follows:

    Name: Theme Main JavaScript
    Contents:

    function ultra_child_scripts() {
    	wp_dequeue_script( 'ultra-theme' );
    	wp_enqueue_script( 'ultra-child-theme', content_url() . '//puro-4401.kxcdn.com/jquery.theme-child.js', array( 'jquery' ), 1.0, true );
    }
    add_action( 'wp_print_scripts', 'ultra_child_scripts', 20 );

    Enable the option, Only run on site front-end.

    2. Using FTP upload this file to your wp-content directory.

    The file link above, please, right-click and use the Save link as option.

    What this will do is remove the main theme JavaScript file and load the same file with the Smooth Scroll section removed.

    If there is a child theme being used, let me know and I can adjust these instructions. Let me know if anything isn’t clear. I’ve tested this solution locally and it is working.

    #5195

    Andrew Misplon
    Keymaster

    (I can assist with this hotfix if required. I’d need a WP login and FTP details.)

    #5219

    Eros Di Pietro
    Participant

    Hello Andrew,
    I am only now able to try. I downloaded the plugin, added the java script and uploaded the file in the wp-content directory site. unfortunately it did not work.
    The company does not allow anyone to use the FTP connection. I can give an account to access the site.

    thanks you so much
    Eros

    #5220

    Andrew Misplon
    Keymaster

    Hi. Please, send a screenshot of the snippet saved including the options at the bottom and also a screenshot of the file saved to wp-contents.

    Thanks

    #5221

    Eros Di Pietro
    Participant
    This reply has been marked as private.
Viewing 15 posts - 1 through 15 (of 28 total)

You must be logged in to reply to this topic.

Scroll to top