help center

On this page

Use containers to build your first page

Last Update: September 26, 2023
1 Use containers to build your first page 1

Now that you know how to create a new page, we’ll show you how to build your first page in Elementor using flexbox containers. Containers replace the previous system of sections and columns, providing an easier and more flexible way to build a web page.

Before starting, you should familiarize yourself with the layout of the Elementor Editor if you haven’t already.

You may also want to familiarize yourself with the concept of containers

Let’s start building

Now it’s time to get your hands “dirty” – so we’ll start by building what’s called a “Hero section”.  Hero sections are big prominent elements, usually found at the top of the page. They’re designed to attract visitors and keep them on your site.

We’ll be building a hero section based on one that can be found in our template library, available for all Elementor Pro and Cloud users. 

A good hero section starts with a great image, video or slideshow. In this case we’ll start with a photo. If you want to follow along, you can click the image below and save it to your desktop, for use as the background image. 

Creating the hero section

First thing we’ll need to do is create a container to hold your hero section.

  1. Click the HN0Hu26WrZjIK oVTfxej6GSVjAD4kflJvjY1Vu rQdjB2oG6RchENB AUE30R34qrLMsm 4xIuS7Rb4f6MUldzq8AY7HoqOQ3WYMHvA5YuGMAX9LUItJiSK66k2Zn2bZIthC Use containers to build your first page 3 icon to create a layout for your container. (Clicking the folder icon would start the process of importing a template, but we’re going to build this section from scratch).
  2. Now we need to select a container structure. For now, we’ll keep it simple and use one container – however, we still need to choose if the container will have a row or column structure. In our case, the elements are going to be arranged vertically, so we’ll choose the column layout. 
    2 Use containers to build your first page 5
    Okay, now it’s time to shine. Let’s add the image to your Hero section. There are several ways to add an image to a container but, in this case, we’ll add the image as a background This way we’ll make sure the image fills up the entire container. 
    When you created the new container, The panel on the left side of the screen should have turned into an Edit Section panel. 
    If it didn’t, click the dot icon in the blue tab above the container. 
    3 Use containers to build your first page 7
  3. We want our hero section to take up the entire screen, so we’ll keep the content width set to Boxed with a Width of 1140 PX and a Min. Height of 540PX. (Learn more about the different measuring units). 
    4 Use containers to build your first page 9
  4. The text in our Hero section is in the middle of the screen, so let’s set Justify Content and Align Items to Center.
    5 Use containers to build your first page 11
    Now it’s time to add the background image. For containers, the background image can be found in the Style tab. 
    Learn more about all the options available to you with flexbox containers.
  5. Select the Style tab and choose the Classic background type.
    6 Use containers to build your first page 13
    Once you’ve done that, you’ll be able to add an image by clicking the image icon.
    This will open your media library. In WordPress, best practice is to add media through the media library so that’s what we’ll do. 
  6. To add the image you downloaded to your media library click Upload Files and then Select Files.
    7 Use containers to build your first page 15
  7. Navigate to the file you selected and click Open. This will add the image to your media library. Although it’s optional, best practice is to add Alt Text and a caption. This will help your SEO and make your site more accessible. Then click Insert Media.
    8 Use containers to build your first page 17
    Probably doesn’t look too heroic yet does it? Let’s fix that.
  8. We’ll change the following options:
    1. Position of the background image: Center-Center
    2. Attachment: Scroll
    3. Repeat: No-repeat
    4. Size: Cover
       Now one big image will cover the entire section.
      9 Use containers to build your first page 19
       

Let’s add the text to our hero section.
In this case, we are using two different styles of text so we’ll use two Heading widgets.

  1.  Click the widget icon so that you can select a widget. 
    10 Use containers to build your first page 21
  2. Drag and drop a Heading widget into the container.
    11 Use containers to build your first page 23
  3. In the Content tab, enter “Total Body Fitness” into the Title box.
  4. Change the Alignment to Center.
    13 Use containers to build your first page 25

Now, we need to style the heading.

  1. Click the Style tab.
  2. Change the Text Color of the text to #F8F812 (Learn more about picking colors).
  3. Change the Typography to:
    1. Family: Montserrat 
    2. Size: 22PX
    3. Weight: 400
    4. Transform: Normal
    5. Style: Normal
    6. Decoration: None
    7. Line Height: 26PX
      (Learn more about typography)
      13 1 Use containers to build your first page 27

Learn more about all these options for the Heading widget.

To add the second headline:

  1. Drag a Heading widget under the first widget.
  2. In the Content tab change the text to “CHALLENGE YOURSELF.<BR>TAKE IT TO THE NEXT LEVEL and the Alignment to center. (The <br> in the text indicates a line break.)
    14 1 Use containers to build your first page 29
  3. Go to the Style tab.
  4. Change the Text Color of the text to #FFFFFF.
  5. Change the Typography to:
    1. Family: Archivo 
    2. Size: 65PX
    3. Weight: 800
    4. Transform: Uppercase
    5. Style: Normal
    6. Decoration: None
    7. Line Height: 1EM
15 Use containers to build your first page 31

Finally, we’ll add a button that will quickly convert interested visitors into customers by taking them straight to a registration page. To do this:

  1. Drag a Button widget under the second header.
  2. In the Content tab change the Text to “see pricing>”
  3. Change the Alignment to Center. 
  4. Go to the Style tab.
  5. Change the Typography to:
    1. Family: Archivo
    2. Size: 18PX
    3. Weight: 800
    4. Transform: Uppercase
    5. Style: Normal
    6. Decoration: None
    7. Line Height: 1EM
  6. Change the Text Color to #1B252F.
  7. Change the background color to #F8F812.
  8. In the Padding section, click the lock icon to unlink the values.
  9. Change the values to:
    1. Top: 20
    2. Right: 55
    3. Bottom: 20
    4. Left: 55

(Learn more about padding and margins)

16 Use containers to build your first page 33

Your container should now look like the one at the top of the page. If it doesn’t, look at what’s different and try to figure out which values you may have skipped or entered incorrectly.  

Click Publish to save your page.

17 Use containers to build your first page 35

Next steps

Of course we’ve only just scratched the surface of what you can do with Elementor. Next, you can create more sections below the hero to finish up your page. Or you can try applying a website kit to your site and customizing it for your needs. You can also apply a kit just to examine it and see how experts use Elementor. If you prefer to work from scratch, you can learn more about creating an entire site structure with the Theme Builder. To get the most out of Elementor, head over to the Elementor Academy for more learning resources. If you have any issues or need help, please contact our Support Center.

Have more questions? We’re more than happy to assist.

Link is copied to clipboard!
On this page

Is this article helpful?

Share this article