Gutenberg Blocks by BlockArt

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

Google Map

Google Maps block allows you to showcase the map on the page and post on your site. It lets share the exact location of your business or any place of interest.

Adding Google Map Block
Adding Google Map Block

After you have chosen the Google Map 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 #

General #

  • Address/Location – Under this option, you can add the address of the location you want to mark on the map.
  • Map Height – It lets you adjust the height of the map.
  • Zoom – You can adjust the zoom level of the map that defines how large or small the contents of a map appear in a map view. 
Add Location, Set Height and Zoom
Add Location, Set Height, and Zoom

Style #

Under the style settings, you’ll find the following options available:

Background #

  • Type – It sets the background color of the Map. You can change the visual appearance of the background by changing its color or adding an image.
Change Background Color
Change Background Color

Border #

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

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

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 select the border size.
Add and Customize Border
Add and Customize Border
  • 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 for the Map.
    • 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.
Add Box Shadow Effect
Add Box Shadow Effect

Advanced #

The Advanced section consists of four options for the Google Map 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 the 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).
Manage Padding and Margin Space
Manage Padding and Margin Space

Z-Index #

It allows you to set the priority of the Google Map 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 Google Map block on the Desktop.
  • Hide on Tablet – It hides the Google Map block on the Tablet.
  • Hide on Mobile – It hides the Google Map on the Mobile.
Enable/Disable Block Responsive Condition
Enable/Disable Block Responsive Condition

Advanced #

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

  • CSS ID – It allows you to set specific IDs to style the 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