• Hi,

    I thought of using the zerif lite theme but the only problem stopping me is:

    When I am loading the site for the first time, all the sections ( focus,testimonials,news, team, etc.) are sliding.

    I don’t want those sections to slide.I want it to be more simple.

    I think it’s something to remove from the code.

    Can you please help me with that so that I can use the theme?

    Many thanks!

Viewing 1 replies (of 1 total)
  • Hello!

    I don’t see a way to disable this effect in the theme settings. The javascript file scrollReveal.js is creating that effect. Keeping this file from loading should take care of the issue.

    1. Create a child theme
    2. In functions.php in your child theme add the below to keep scrollReveal.js from loading
    function project_dequeue_unnecessary_scripts() {
        wp_dequeue_script( 'zerif_scrollReveal_script' );
        wp_deregister_script( 'zerif_scrollReveal_script' );
    }
    add_action( 'wp_print_scripts', 'project_dequeue_unnecessary_scripts' );

    Hope that helps! Let me know if you have questions. ??

    Jeremy

Viewing 1 replies (of 1 total)
  • The topic ‘How to remove the sliding part once I load the theme?’ is closed to new replies.