# Studio Editor: Using a Container to Create a Vertical Section

Source: https://support.wix.com/en/article/studio-editor-using-a-container-to-create-a-vertical-section (updated 2026-10-05)
Related: Wix developer documentation, https://dev.wix.com/docs/llms.txt; Help Center index, https://support.wix.com/en/llms.txt

Vertical sections are not available in the Studio Editor. However, you can use a pinned container to achieve a similar effect, making it look just like a sidebar section.

![Example of the end result - a sidebar section used for navigation on a live site created on the Studio Editor](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/8696077d-830a-4b1e-bd86-9df98f89994a/2023/12/27/9d57cce0-0d96-4929-bce9-479f5a69dc5e/a9f4fdd4-6d87-4600-9303-22cc5cb64345.png)

---

## Step 1 | Add a container and apply a grid

First, add a container and set its height to 100vh so it takes up the entire screen's height. Then, apply an advanced CSS grid with the row's size set to Auto.

### To add a container and apply a grid:

1. Add a container from the Add Elements panel ![](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/8696077d-830a-4b1e-bd86-9df98f89994a/2023/12/10/5c36d66f-72c6-438e-af97-ad125359f309/7e4e39a9-f1c2-41bb-861b-242a6c04ea5c.png) in the Studio Editor.
2. Change the container's height to 100vh:  
   1. Click the Open Inspector arrow ![](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/8696077d-830a-4b1e-bd86-9df98f89994a/2023/06/14/2dd40586-1f79-4376-aee0-387212a246bb/dfed4075-2e24-4ad8-a7c4-8857038d5f16.png) at the top right of the editor.  
   2. Click the More Actions icon ![](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/8696077d-830a-4b1e-bd86-9df98f89994a/2023/12/10/a7bfbfa7-5691-46a9-b6a8-b64bf6343894/36439a1a-d4f6-476c-b749-2edb94a328ac.png) next to **Size**.  
   3. Enable the **Advanced Sizing** toggle.  
   4. Set the **Height** to 100vh.  
   **Tip:** Click the current unit of measure (e.g. %, px) to change it.
3. Apply a CSS grid on the container:  
   1. (In the Inspector) Scroll down to **Layout**.  
   2. Click **Apply** next to **Advanced CSS Grid**.  
   3. Click **Rows**.  
   4. Click the current size measurement to change it to **Auto**.

![Setting the grid row size to Auto in the Inspector panel](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/8696077d-830a-4b1e-bd86-9df98f89994a/2023/12/27/18885ae5-e56d-48c1-b383-06f95ed8aa4e/ad323fd2-12ef-4b23-ac91-db7ff7a64278.png)

---

## Step 2 | Attach the container to the header

Drag the container onto the current page's header to attach it. This resizes the header according to the container, but we'll change the height back in the Inspector panel.

Then, pin the header so the container stays visible as visitors scroll up and down the page.

### To attach the container to the header:

1. Drag the container to attach it to the page's header.
2. Resize the header:  
   1. Select the header.  
   2. Click the Open Inspector arrow ![](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/8696077d-830a-4b1e-bd86-9df98f89994a/2023/06/14/2dd40586-1f79-4376-aee0-387212a246bb/dfed4075-2e24-4ad8-a7c4-8857038d5f16.png) at the top right of the editor.  
   3. Click the More Actions icon ![](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/8696077d-830a-4b1e-bd86-9df98f89994a/2023/12/10/a7bfbfa7-5691-46a9-b6a8-b64bf6343894/36439a1a-d4f6-476c-b749-2edb94a328ac.png) next to **Size**.  
   4. Enable the **Advanced Sizing** toggle.  
   5. Set the **Height** to the desired value in **px**.  
   **Tip:** Click the current unit of measure (e.g. %, vh) to change it.
3. Scroll down to **Position**.
4. Select **Pinned** from the **Position type** drop-down.

![Side-by-side view of the Inspector panel and the header with the container attached](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/8696077d-830a-4b1e-bd86-9df98f89994a/2023/12/27/7f5a4236-232f-409f-aa91-1ccb9ec90cd8/1d5f9750-644b-497b-985d-5e60d394e2fc.png)

---

## Step 3 | Align the container and add padding to the page

Now, it's time to place the container. Depending on where you want it to appear, align the container to the top and left / the top and right corners.

The final step is adding padding to the relevant side of the page – this prevents the container from covering the page's content.

### To align the container and add padding:

1. Select the container.
2. (In the Inspector) Align the container to the top and left / right:  
   1. Click the Align to Top icon ![](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/8696077d-830a-4b1e-bd86-9df98f89994a/2023/12/26/7b284bf6-6e2b-43c2-8608-6faa8d707a27/94e30191-c597-4c23-8eed-f8783351b6c9.png).  
   2. Click the Align to Left icon ![](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/8696077d-830a-4b1e-bd86-9df98f89994a/2023/12/26/f80af35e-1499-46e3-abd5-9db3f3ffaab1/43d50b1c-7187-49ac-97e3-53984fc1f72e.png) / Align to Right icon ![](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/8696077d-830a-4b1e-bd86-9df98f89994a/2023/12/26/4c8175e6-819d-47fa-a6bc-64a4689dbca5/dc9e3d59-b9e8-4bf1-84a5-5b7ed51b6b2a.png).
3. Add padding to the page:  
   1. Click **Page** at the top of the Inspector.  
   ![Selecting the page in the breadcrumbs at the top of the Inspector panel](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/8696077d-830a-4b1e-bd86-9df98f89994a/2023/12/26/9406faa6-48a4-433d-b845-8aa9fe9b239b/ecf67983-249d-462d-bcc4-046dbabceb80.png)  
   2. Under **Position**, set the padding to be the same width as the container.  
    For example, if the container width is 20% and located on the left side of the page, the left padding should also be set to 20%.  
   ![Setting the page padding in the Inspector panel](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/8696077d-830a-4b1e-bd86-9df98f89994a/2023/12/26/753e7a99-1826-4146-b8e4-478734202f2b/0896f6c6-a1aa-4a7b-a236-d86f47922bc1.png)

---

## Step 4 | Customize the container

The container is now ready for you to use as a sidebar section. Add any elements you need and design the container from the Inspector panel. It should look like in the example below – attached to the header and taking up the entire screen height as you scroll up and down the canvas.

![Example of a container turned into a sidebar section using the instructions in the article](https://d2x3xhvgiqkx42.cloudfront.net/12345678-1234-1234-1234-1234567890ab/8696077d-830a-4b1e-bd86-9df98f89994a/2023/12/27/0026cf5a-f6fc-4473-8b97-eb147bbebedc/1f9b4964-49af-4a51-97f1-731c0209c278.gif)
