Gutenberg Blocks by BlockArt

Gutenberg Editor, Website Builder, Page Builder with Sections, Template Library & Starter Sites

Spacing

The Spacing block adds space between two blocks or sections. This option is best if you do not want to use the Margins or Padding to create space inside blocks.

Adding Spacing Block
Adding Spacing Block

After you have chosen the Spacing block, you’ll get a block editing panel on the right-hand side. It has three options, i.e., General, Style, and Advanced. These options customize the design and other elements of the block. Let’s explore one by one below:

General #

It provides the following customization options for the Spacing Block.

Layout #

  • Height – It determines the height of the Spacing Block. Moreover, you can set the height values for various devices (Desktop, Tablet, and Mobile).
Manage Height of Spacing Block
Manage the Height of the Spacing Block

Background #

  • Type – It sets the background color of the spacing block. You can change the background’s visual appearance by changing its color or adding an image. Moreover, you can set different background colors in Normal and Hover Modes.
Set Background Color
Set Background Color

Border #

It customizes the Border area added around the spacing block and comes with the following options:

  • Type – You can set the border type as Solid, Dotted, Dashed, Double, etc. Moreover, select None if you do not want to add the border.

When you select none, you will be given the following option:

  • Radius – It allows you to fix the radius value to make the round corners for the border.

However, if you select the border type to be other than none, two more options will be added. The option is listed below:

  • Border Color – It allows you to choose the appropriate border color.
  • Size – It provides the option to choose the border size.
Adding Border Around Spacing Block
Adding Border Around Spacing Block
  • Box Shadow – When you enable the Box Shadow option, you will get the following customization options:
    • Color – It allows you to select the appropriate box-shadow color.
    • Horizontal-X – It displays the box shadows in the horizontal position.
    • Horizontal-Y – It displays the box shadows in the vertical position.
    • Blur – You can set up the blur value of the box shadows appearing.
    • Spread – The shadow’s spread value represents the distance to expand or contract a shadow in all directions. You can change the spread value according to the site’s requirements.
    • Position – You can set the position of the box shadows as Inset or Outline.
Adding Box Shadow Effect
Adding Box Shadow Effect

Note – You can apply the settings option differently for Normal and Hover Modes.

Advanced #

The Advanced section consists of four customization options for the Spacing Block.

Spacing #

Under the spacing section, you can find the following options available:

  • Block Margin – According to the site requirement, you can assign a specific margin value to the block along with units like px, em, %, and rem. Moreover, you can set different margin values for various devices (Desktop, Tablet, and Mobile).
  • Block Padding – According to the site requirement, you can assign a specific padding value to the block along with units like px, em, %, and rem. Moreover, you can set different padding values for various devices (Desktop, Tablet, and Mobile).
Adding Margin and Padding Spacing
Adding Margin and Padding Spacing

Z-Index #

It allows you to set the priority of the Spacing block according to the site requirement.

Responsive Condition #

Using the option, you can enable/disable displaying the block on various screen sizes:

  • Hide on Desktop – It hides the Spacing block on the Desktop.
  • Hide on Tablet – It hides the Spacing block on the Tablet.
  • Hide on Mobile – It hides the Spacing block on the Mobile.

Advanced #

Under the option, you can set the CSS ID and Classes for this particular Spacing block. The available options are listed below:

  • CSS ID – It allows you to set specific IDs to style this particular block. Once you have set the ID, you can write the CSS Code to style the block using that particular ID.
  • Additional CSS Class(es) – It allows you to add a CSS class to your block and write custom CSS to style this particular block.
Add CSS ID and Additional CSS Class
Add CSS ID and Additional CSS Class

After creating the separate ID and Classes, visit your CSS editor and write a style for the ID and class.

Powered by BetterDocs

Scroll to top