Round image of the author with a thin blue line around the image

Sebi Vidret

Product Marketing Manager

,

June 22, 2022

Full height section.

Follow product marketing manager Sebi Vidret's step-by-step guide on how to create a full height section using grid calculations and section sizing properties.

How to create a full height section.

What is a full height section?

In a full height section, the design covers the entire height of the screen or the viewport, which is the canvas where the site is displayed. In a browser, the viewport does not include the address bar or the rest of the interface.

How do you set it up?

To create a full height section, we’ll use the vh unit of measurement, which lets us calculate values based on height. Setting the section height to 100vh means that the section will take up 100% of the viewport height. This measurement lets us adjust the height of the section according to the viewport, which means the design will also adjust.

How is it calculated?

For this design, we’ll apply a 3x3 grid with 3 columns and 3 rows and we’ll adjust the rows and columns.


  • Column 1: set as 56%

  • Columns 2 and 3: 1fr by default so they’ll divide the remaining area equally


The rows will create the height of the section so we’ll give them a vh value.


  • Row 1: The header row is set as 10vh

  • Rows 2 and 3: set as 45vh

  • Total for 3 rows: 100vh


The 3 rows will cover the full height of the viewport. If the rows total less than 100vh then they won't cover the full height of the viewport. If they’re more than 100vh, then there’ll be a vertical scroll.

Vh is also relevant for margins when creating responsive designs so that the elements’ position will adjust as the viewport height adjusts.

Can you set the header to be a fixed height?

As the height of the viewport adjusts, the header section automatically adjusts as well. Sometimes you want to adjust the size of the rows but not the header. Pixels are ideal here so we can be precise with our calculations.


  • The header is set to be 66 px high so that it’s fixed in size

  • Row 1: Set as calc (50vh - 33 px)

  • Row 2: Set be calc (50vh - 33 px)

  • Total rows 1 &2: 100vh minus 66px from the header


When you view the design in preview, the header is fixed and does not adjust as the viewport adjusts.

How to create a full height section.
What is a full height section?
How do you set it up?
How is it calculated?
Can you set the header to be a fixed height?
Round image of the author with a thin blue line around the image

Sebi Vidret

Product Marketing Manager

I am an Editor X Product Marketing Manager, focused on the planning & execution of the Editor X education initiatives. Being obsessed with website development, I built my first site at 13 years old. Now I teach these skill to other aspiring creators. When I'm not designing on Editor X, you can find me making asado, playing soccer, and drinking mate with friends.

Did you find this lesson helpful?

Thank you for your feedback!

Related learning resources.

VIDEO LIBRARY

Title

Description

Watch Now

LESSONS & EXERCISES

Title

Description

Start Lesson

VIDEO LIBRARY

Title

Description

Watch Now

LESSONS & EXERCISES

Title

Description

Start Lesson

Ready to start creating?

Search icon
Home icon
LESSONS & EXERCISES
Arrow down icon
Editor X Essentials
Arrow down icon
Design & Layouting
Arrow down icon
Interactions & Effects
Arrow down icon
Elements & Components
Arrow down icon
Web Concepts
Arrow down icon
Content Management
Arrow down icon
Code & Dev
Arrow down icon
Collaboration
Arrow down icon
VIDEO TUTORIALS
Arrow down icon
External link icon
External link icon
ACADEMY MENU ▶
Search icon

Top searches

People are searching for

Video tutorial introducing the Editor X workspace with an overview of the responsive layouting and design tools.

VIDEO LIBRARY

Introducing Editor X

Discover the Editor X workspace. Get an introduction to your advanced layouting tools and an overview of responsive web design features like breakpoints, flexbox and CSS grid.

Video introducing the Editor X workspace with an overview of the responsive layouting tools and design capabilities.

VIDEO LIBRARY

Getting Started

Learn the basics of creating a site on Editor X. Get a step by step walkthrough covering the key features and capabilities.

Thumbnail indicating interactions. Orange background with a shaded orange container over it. In the middle of the container is a white logo.

LESSONS & EXERCISES

Hover Interactions

Design dynamic web experiences by adding a variety of interactions to any element on hover. Customize the interaction settings for every breakpoint, from transform adjustment to advanced design capabilities and timing control.

See all results ▶