full-page-section. 100vh and width to 100% using CSS or Webflow’s Style Panel. To create full-page sections in Webflow using code, you can enhance Webflow’s native design tools with some HTML structure, CSS styling, and optional jQuery for scroll interaction. Here's how:
section1, section2, etc.) to allow targeting and navigation.full-page-section.
You can copy this directly into your custom code area (no <style> tag needed in Webflow):
Add:
height: 100vh sets each section to full screen height.overflow: hidden ensures no extra scrollbars appear.
.full-page-section {
height: 100vh;
width: 100%;
overflow: hidden;
position: relative;
}
100VH.100%.
Example uses anchors for nav:
$('a[href^="#"]').on('click', function(e) {
e.preventDefault();
let target = $(this.getAttribute('href'));
if (target.length) {
$('html, body').stop().animate({
scrollTop: target.offset().top
}, 1000);
}
});
href="#section1" style to match the IDs of your sections.
To create full-page sections in Webflow:
100vh height using CSS or Webflow’s Style Panel.This combination gives you precise control over full-page layouts within Webflow.