top of page

Studio, Partners & Enterprise

Wix Studio

Studio Editor: Using Containers


Containers are responsive layout tools that help you streamline and structure site content. You can customize them to complement the site's design, and attach elements such as text, media, and buttons.



Adding containers to a site


Get started by adding a container to suit the client's design and content needs. You can choose from a range of pre-designed and hover containers, or start from scratch with a blank design.


To add a container:


  1. Click Add Elements

    Studio Editor: Using Containers

    on the left side of the editor.

  2. Select Containers.

  3. Choose a container style (Empty, Designed, or Hover).

  4. Click and drag your chosen container to add it to the page.


The Add Elements Panel in the Studio Editor. The cursor is hovering over an empty container.


Designing containers


Customize the container's design to complement the site's aesthetic. You can change the background color, set the radius, and more.


To design a container:


  1. Select the relevant container.

  2. Click the Open Inspector icon

    Studio Editor: Using Containers

    at the top right of the editor.


A screenshot of opening the Inspector panel in the Studio Editor.

  1. Choose how you want to customize the container under Design:

    • Background: Set the background and make it more or less visible:

      • Color: Select from the site's theme colors, or your own custom shade.

      • Gradient: Apply a gradient or linear gradient to the container. You can choose the colors, angles, and more.

    • Glass effect: Apply a frosted glass effect to the container and set the intensity of the blur.

    • Border: Add a border to the container and use the options to set its size, color, and opacity.

    • Corners: Adjust the radius of the container's corners (in px) to make them more round or square.

    • Shadow: Add and customize a shadow effect on the container.


The design tab for a container in the Inspector. The cursor is adjusting the border.

Tip:


You can also adjust the corners of the container by dragging the radius handle on the canvas.


A cropped view showing the radius handle on a container.


Attaching elements to containers


When you place elements inside a container, they are automatically attached. This means you can drag the container and its attached elements as whole, and view them together in the Layers panel.


To attach an element to a container:


  1. Click the relevant element.

  2. Drag it to its desire position in the container.

  3. Drop the element when you see the Attach message.


A text element is being dragged into the container. The Attach message is displayed.


Setting a container's responsive behavior


When you add a container to the page, it already comes with a built-in responsive behavior. This means you don't have to worry about how the element looks on different screens - the responsive behavior ensures that it gets resized.


However, you may want to switch the responsive behavior, if you see one that is more suitable for your design.


To set the responsive behavior of a container:


  1. Select the relevant container.

  2. Click the Open Inspector icon

    Studio Editor: Using Containers

    at the top right of the editor.


A screenshot of opening the Inspector panel in the Studio Editor.

  1. Click the drop-down under Responsive behavior and select the desired behavior:

    • Scale proportionally: The container's proportions (width and height) keep the same aspect ratio on all screens.

    • Relative width: The container's width changes automatically, in relation to its parent element.

    • Fixed: The container's width and height always stay the same, they don't adjust based on screen size.

    • Stretch: The container stretches to fit its parent (e.g. cell, section) on every breakpoint.


A container on the Studio Editor canvas, next to the Inspector panel, clicking the responsive behavior dropdown


Applying a grid to a container


Apply an advanced CSS grid to the container to structure its layout. You can choose the number of rows and columns you want, and set their size using responsive measurements (e.g. fr, Min/max, %)


To apply a grid to a container:


  1. Select the relevant container.

  2. Click the More Actions icon

    Studio Editor: Using Containers

    .

  3. Click Apply Advanced CSS Grid.

  4. Choose a layout from the 1x1 drop-down.

    Tip: Select Other if you want to set your own number of rows and columns.


A container in the editor. A CSS grid is being selected from the drop-down.

Need An AI Run Website?
Contact Us
 Today!

wix experts
Graphic2Traffic web design
©
bottom of page