No results found. Try again with different words?

Search must be at least 3 characters.

Getting Started with Grid Builder

With Spectra’s Grid Builder, you can easily arrange website elements into rows and columns for flexible layouts. It’s highly flexible and perfectly suits modern screens.

This builder simplifies creating and customizing extensive grid layouts without requiring much coding knowledge. It extends the capabilities of Spectra’s Container block.

This article explains how you can create grid layouts similar to the one above and edit them to suit your requirements.

How to Create a Grid Layout in Spectra

Navigate to the page/post where you want to create grids and do the following:

  • Add a “Container” block.
  • Select “Grid” under General > Layout.
  • Add columns and rows to your grid. In this example, we’ll create a simple 3*3 grid.
  • Add containers here by clicking this “+” block. These containers act as your grid cells.
  • Add multiple grid cells by clicking this “Add block” plus icon. We’ll add 9 grid cells for now.

Here’s how our grid layout looks currently:

Defining Rows and Columns

You will find these options under General > Layout > Grid.

To delete rows or columns, click the “Delete” icon next to the desired row/column.

Adjusting Column and Row Width

You can adjust the column and row width by clicking the “Edit” icon.

There are three options to adjust the row/column width:

  • Auto: Choosing “Auto” adjusts the width automatically based on the screen size.
  • Min/Max: This option lets you set the smallest and largest widths for the columns/rows, defining how narrow or wide they can be stretched within your layout.
  • Custom: Finally, you can set your custom width by adjusting this value.

Previewing Grid Columns and Rows on Multiple Devices

See how your rows and columns appear on different devices like tablets, phones, and computers by clicking these device icons next to Columns/Rows.

Customizing Individual Grid Cells

You can customize each grid cell in your grid layout by adding background images, text, borders, adjusting the space between cells, and much more. 

Here are some of these customization options:

Adjusting Grid Cell Height and Width

You can increase or decrease the size of the individual grid cells based on the size of your content. To do this:

  • Select the grid cell you want to customize and open the Grid Item Settings dropdown.

If you need more space for specific cells in your grid, you can adjust this “Column Width” and “Row Height”.

  • To make a grid cell wider, increase the “Column Width” value. For instance, setting it to 2 will make the box span over 2 columns, making it wider.
  • To make a grid cell taller, increase the “Row Height” value. This will make the box span over multiple rows, giving it more height.

How to Add a Background Image to a Grid Cell? 

You can arrange images in a grid format too. To do this:

  • Select the preferred grid container cell.
  • Click the image gallery icon under Style > Background and select the desired image.

You can also adjust the image positioning, size, overlay, and more options here.

Under the Styles tab, you can add and adjust additional elements such as text colors, border styles, spacing between grid cells, and more. Check out this article to learn more about them.

Advanced Grid Builder Settings 

For complex grid layouts, Grid Builder offers advanced positioning techniques that enable you to create custom grid areas and assign cells to specific grid areas.

You can access the advanced settings for the individual grid cells under General > Grid Item Settings > Advance.

We’ll understand this with an example.

To center the top-right grid cell featuring the image “14+ Health Benefits of Trekking,” we have to move it to the second column. To do this:

  • Select the top-right grid cell and set the “Column Start” value as 2
  • “Column End” determines the specific column where you want the grid cell to end. We’ll set this value as 3 because we want it to end before column 3, hence keeping it in column 2.
  • We want to display this image from the first row all the way down to the last row. Therefore, we’ll set the “Row Start” value as 1 and the “Row End” value as an extra 3.

Note: We add an extra 3 because, in a grid structure with 2 rows, the end isn’t at 2 but at 3. Similarly, with 3 columns, it ends at 4. Something like this:

The grid cell should be in the middle now. Other grid cells will be automatically shifted to the available remaining space.

Click on the Save or Publish button at the top once you are done making the changes.

That’s it with this guide! We hope it helps you. For any questions, please contact us. We’re always here to help!

Was this article helpful?

Did not find a solution? We are here to help you succeed.

Related Docs
Build Ultra High Performance
Websites, Without Coding

Whether you are a beginner, marketer, or professional, Spectra has the tools and resources you can rely on to succeed

Get Notified When Available

Note - You can purchase the Essential Toolkit now and easily upgrade to the Business Toolkit once it becomes available.

Download is Just A Click Away!

Enter your email address and be the first to learn about updates and new features.

Get your hands on Spectra Pro

Enter your name and email address to get access to Spectra Pro.