scroll animation not working
-
I have the same issue as a couple of others in this forum where the scroll works, but it just jumps and does not animate. I found that my theme did not in fact have the
<?php wp_footer(); ?>
code in the footer.php file, so I added it thinking all my problems would melt away, and still have the same issue.
my site can be viewed at https://www.pantrydemo.com.php56-19.dfw3-1.websitetestlink.com/
I will say there was an interesting note in the footer.php file that I didnt quite understand, perhaps you could? here is the footer.php code.<?php /** * @package Gantry 5 Theme * @author RocketTheme https://www.rockettheme.com * @copyright Copyright (C) 2007 - 2015 RocketTheme, LLC * @license GNU/GPLv2 and later * * https://www.gnu.org/licenses/gpl-2.0.html */ defined('ABSPATH') or die; /* * Third party plugins that hijack the theme will call wp_footer() to get the footer template. * We use this to end our output buffer (started in header.php) and render into the views/page-plugin.html.twig template. */ $timberContext = $GLOBALS['timberContext']; if (!isset($timberContext)) { throw new \Exception('Timber context not set in footer.'); } $timberContext['content'] = ob_get_contents(); ob_end_clean(); $templates = ['page-plugin.html.twig']; Timber::render($templates, $timberContext); wp_footer();
Viewing 14 replies - 1 through 14 (of 14 total)
Viewing 14 replies - 1 through 14 (of 14 total)
- The topic ‘scroll animation not working’ is closed to new replies.