我正在使用 locomotive-scroll 库在我的项目中平滑滚动。滚动容器位于 html 主标签上(不包括页眉和页脚)。一切正常,除了页面的一部分未在末尾显示(大约页脚)。我在 CSS 中搜索,但没有找到任何东西。谢谢。这是我的标记:
<body>
<header role="banner">
<nav class="header__menu link-effect" role="navigation" aria-label="header-menu">
<a class="header__menu-item b-container" href="#0">
<span class="menu-item b-menu">Menu</span>
</a>
<div class="header__menu-item">
<a class="header__menu-item-logo" href="#"><svg class="icon icon-logo"><use xlink:href="#icon-logo"></use></svg></a>
</div>
<a class="header__menu-item" href="/#contact">
<span class="header__menu-item">Contact</span>
</a>
</nav>
</header>
<div class="b-nav" role="navigation">
<nav class="b-nav-wrapper">
<div class="button">
<a class="button-link" href="#">Catalogue</a>
</div>
<div class="button">
<a class="button-link" href="#">En développement</a>
</div>
<div class="button">
<a class="button-link" href="#">Le WIPP</a>
</div>
<div class="button">
<a class="button-link" href="#">L'équipe</a>
</div>
<div class="button chateau">
<a class="button-link" href="#">Festival de cinéma de Saint-Paul-Trois-Châteaux</a>
</div>
</nav>
</div>
<main role="main" id="scroll_container">
<!--<nav class="full__menu" role="navigation" aria-label="menu-blocs">
<?php
wp_nav_menu( array(
'theme_location' => "main_menu"
) );
?>
</nav>-->
<?php
print_view();
?>
<!--<aside>
<?php get_sidebar(); ?>
</aside>-->
</main>
<footer role="contentinfo">
<div class="footer-wrapper">
<div class="footer__logo">logo-picto</div>
<div class="footer__copyright"><p>©2020-Bootstrap-Label - Tous droits réservés</p></div>
</div>
</footer>
<?php wp_footer(); ?>
</body>