Cara menggunakan wordpress spacing between blocks

Wondering if it’s possible to create a landing page with the block editor that was released as part of WordPress 5.0? It is indeed, and this post will show you how.

Thanks to the new “block” approach, you now have the ability to set up hero sections, call to actions (CTAs), and other important elements of a landing page.

To help you take advantage of this new functionality, I’m going to show you exactly how to create a landing page with the block editor – step-by-step.

Learn how to build a landing page with the new #WordPress block editor (aka #Gutenberg)

Click To Tweet

What is the new block editor in WordPress?

The block editor is a brand new content editor that’s become the default editor as of WordPress 5.0. During its development, the new editor was called “Gutenberg”. However, since it’s become part of the core, it’s now just the “WordPress editor” or “block editor” if you want to be more specific.

If you’re not sure what I’m talking about, we’ve written a handful of posts on the new editor. You can get a basic introduction here, and a more general tutorial here.

Or, if you’re already familiar with the new editor, just keep on reading to learn how to use it to create a landing page…

A quick tour of the block editor interface

Now before we get started with the building process, here is a quick tour featuring the user interface of the block editor.

To add new blocks, you’ll work in the popup on the left. And once you’ve added a block, you’ll be able to customize important information, like colors, in a sidebar on the right:

Cara menggunakan wordpress spacing between blocks
Cara menggunakan wordpress spacing between blocks

Cara menggunakan wordpress spacing between blocks
Cara menggunakan wordpress spacing between blocks

There are five unique sections to divide up the blocks that you can use:

  • Common blocks – contains all the common elements like the paragraph, heading, list, quote, and other basic content elements.
  • Formatting – good for adding custom code, editing a block with WP editor (classic), or adding a table.
  • Layout Elements – has elements for improving the overall layout, like columns.
  • Widgets – lets you add regular WordPress widgets to your designs.
  • Embeds – helps you embed content from external platforms, like YouTube, Twitter, and lots more.

You can also add new blocks and functionality via third-party plugins. For instance, with the Otter Blocks plugin, you can get new blocks such as a pricing table, testimonials, Google Maps and more.

How to create a landing page with the block editor in WordPress

To give you an idea of what you’ll learn, here’s the basic landing page that we’ll build with the new block editor:

Beyond looks, fast load times are essential for a good quality landing page. So, make sure that the theme you use is compatible with the new block editor and fast loading.

Cara menggunakan wordpress spacing between blocks
Cara menggunakan wordpress spacing between blocks

I chose Themeisle’s free Neve theme to create a landing page with the block editor. Beyond being free and lightweight, Neve is built to work well with the new block editor and gives you lots of layout options so that you can create a true landing page.

Once you have set up your website, all you need to do is go to Pages → Add New and start your work.

Step 1: Choose your page layout

Cara menggunakan wordpress spacing between blocks
Cara menggunakan wordpress spacing between blocks

To give your landing page enough space, you’ll want to choose a layout without a sidebar. Another benefit of using the Neve theme is that you can do this quite easily.

You can select a layout from the right side under the document section. Using either of the layouts with no sidebar is a good choice. For the test design, I have chosen no sidebars with the content centered (rather than full-width).

Step 2: Plan out your basic landing page design

Next, you want to make a plan for the general design of your landing page so that you know which elements you’ll need to include.

For example, if you’re trying to sell a service, it might be essential that your landing page has a pricing table (if so, the Otter Blocks plugin gives you a block for that). Or, if you’re trying to grow your email list, you might want an email opt-in form front and center.

For this tutorial, I’m going to use an example of a simple landing page for a webinar.

Beyond thinking about which elements you’ll need, also consider how you want to arrange those elements.

One common approach is to use a Z-pattern. This pattern is good for pages with minimal content.

The Z-rule is based on the fact that a user starts viewing the page from left to right on the menu bar, then goes to the bottom-left corner and then again goes to the right side (provided that the page isn’t content heavy). This design is used by some popular platforms like Shopify, Facebook and many more.

Cara menggunakan wordpress spacing between blocks
Cara menggunakan wordpress spacing between blocks

Feel free to use any design type for your landing page as long as it follows good basic web design principles.

Step 3: Use blocks to add elements to your landing page

Now that you have the important info, you’re ready to start building your page. Usually, it’s easiest to just start building at the top of the page and move down.

For our example, I’ll start with the main headline and subheading.

Heading, subheading, and background image

Cara menggunakan wordpress spacing between blocks
Cara menggunakan wordpress spacing between blocks

The Cover block is a good option for the top of your page because it lets you include a large image, as well as text on top of that image.

I’ll use it to include a heading and subheading on top of a background image with an orange overlay.

Cara menggunakan wordpress spacing between blocks
Cara menggunakan wordpress spacing between blocks

Once you’ve added the cover block, upload a beautiful image for your landing page. To make your text more visible, you can use the right sidebar to add the overlay color and background opacity.

To add the text, you just need to click and type.

Primary call to action (CTA)

Once you’ve finished with the Cover block, you can add your primary CTA underneath by using the Button block. You can use the right sidebar to customize the colors of your button. You can see that I’ve added a Get Started button underneath the cover:

Cara menggunakan wordpress spacing between blocks
Cara menggunakan wordpress spacing between blocks

And here’s how everything so far comes together in the live preview:

Cara menggunakan wordpress spacing between blocks
Cara menggunakan wordpress spacing between blocks

Product details/overview box

To add a good-looking product details box, you can use the Media & Text box. As the name suggests, this block creates a two-column layout with an image on one side and any type of text on the other. I decided to use a list for the text. You can see it below:

Cara menggunakan wordpress spacing between blocks
Cara menggunakan wordpress spacing between blocks

To improve the layout, you can add space between the previous section and this section by adding a Spacer block. You can adjust the distance between the two blocks via the blue dot on the spacer block.

Cara menggunakan wordpress spacing between blocks
Cara menggunakan wordpress spacing between blocks

Once you’ve added the content and the image in the Media & Text block. It will look like this:

Cara menggunakan wordpress spacing between blocks
Cara menggunakan wordpress spacing between blocks

Final call to action (CTA)

To add the final CTA at the end of your landing page, you can use another Button block. Or, if you’d prefer to use a form instead, the WPForms plugin includes its own WPForms block that you can use to embed any type of form.

Putting it all together

After using all those blocks to create a landing page with the block editor, here’s another look at the final landing page design:

Cara menggunakan wordpress spacing between blocks
Cara menggunakan wordpress spacing between blocks

While you weren’t able to see it while working in the block editor, Neve’s sidebar-less template gives your final design plenty of white space on the front-end. And that’s all there is to it!

The new block editor isn’t exactly a page builder – the current customization options can’t compete with page builders in terms of layout and styles. However, we will see some great add-ons being released gradually as developers get more accustomed to the new editor in 2019, which should shrink the gap and make it even easier to create a landing page with the block editor.

If you want to see how the new block editor compares to other page builders for this use case, we also have tutorials on how to build landing pages with: