How can I place two boxes inline in a section on Webflow?

Published on
September 22, 2023

To place two boxes inline in a section on Webflow, follow the steps below:

  1. Create a new section: Start by creating a new section where you want to place the two boxes. To create a section, just drag and drop the "Section" element from the Webflow element panel onto the canvas.

  2. Add a div block: Inside the section, add a Div Block element by dragging it from the element panel. The Div Block acts as a container for the two boxes.

  3. Style the Div Block: Select the Div Block and set its display property to "Flex" using the Flex layout options in the Styles panel. This will allow the two boxes to sit side by side.

  4. Add two box elements: Inside the Div Block, add two Box elements by dragging them from the element panel. Adjust the size and position of the boxes as desired, using the handles on the canvas or the width and height properties in the Styles panel.

  5. Style the boxes: Select each box individually and customize their appearance by setting properties such as background color, borders, margins, and padding in the Styles panel.

  6. Position the boxes: To align the boxes horizontally, select the Div Block and choose the desired alignment option from the Justify content property in the Flex layout options in the Styles panel. Options like "Flex start," "Flex end," or "Space between" can be used to achieve different positioning effects.

  7. Add content: Finally, you can add any desired content to each box by dragging and dropping elements from the element panel or simply typing text directly into the boxes.

By following these steps, you can easily place two boxes inline within a section on Webflow. Remember to save your changes and publish the site to see the final result.

Additional questions:

  1. How do I align three boxes inline in Webflow?
  2. Can I place a box inside a box in Webflow?
  3. What are some other layout options in Webflow?