# Edit a Section

Sections let you structure your content clearly and effectively.

Once you've [added the section](/foxify-app/foxstudio/page-customization/add-a-section.md) you want, edit it however you want.

Add your own unique flair, including background changes, size adjustments, and additional elements.

{% hint style="info" %}
Speed up Shopify page creation using **pre-designed sections** 🚀. [See our tutorial](https://youtu.be/lgFnPS3nYQs)
{% endhint %}

***

## Add an element to the section

{% hint style="success" %}
**Steps:**

1. On the Left Sidebar, click **Add elements**
2. Select a category > the element type you want to add to the section
3. Drag and drop the element to the section.
   {% endhint %}

<figure><img src="/files/tmrQCPl6qPuy99SxGxpP" alt=""><figcaption></figcaption></figure>

## Add a background to the section

Transform the look and feel of your sections with a variety of background options. Choose a color for a clean aesthetic or add visual interest with an image or video.

{% hint style="success" %}
**Steps:**

1. Click the section in your editor or in the layers panel to open the Inspector of the section.
2. In the **Design** tab, click **Backgrounds.**
3. Select the option you want to apply to your section for a unique touch:

* **Video**: Upload and add your own video to the background
* **Image**: Upload and add your own image to the background
* **Color**: Select a color from the picker. You can choose a solid, linear or radial color.
  {% endhint %}

<figure><img src="/files/IggkTkWoaUIYWaf6k4P3" alt=""><figcaption></figcaption></figure>

In **More settings**, you can find more options to adjust different properties of the background.

<details>

<summary>See details</summary>

**Background attachment**

The background-attachment property in CSS sets whether a background image's position is fixed within the [viewport](https://developer.mozilla.org/en-US/docs/Glossary/Viewport), or scrolls with its containing block.

* **Fixed**: The background image stays fixed no matter what.
* **Scroll**: The background image scrolls with the main view, but stays fixed inside the local view.
* **Local**: The background images scroll with the element's content.

Still not sure how the three values work? Check out this [demo](https://css-tricks.com/almanac/properties/b/background-attachment/).

**Background size**

The background-size CSS property sets the size of the element's background image. The image can be left to its natural size, stretched, or constrained to fit the available space.

* **Auto:** Default value. The background image is displayed in its original size.
* **Contain**: Resize the background image to make sure the image is fully visible.
* **Cover**: Resize the background image to cover the entire container, even if it has to stretch the image or cut a little bit off one of the edges.

Spaces not covered by a background image are filled with the background-color property, and the background color will be visible behind background images that have transparency.

**Background repeat**

The background-repeat CSS property sets how background images are repeated. A background image can be repeated along the horizontal and vertical axes, or not repeated at all.

This setting works with **Auto** and **Contain** background size.

* Repeat: tile the image in both directions
* Repeat x: tile the image horizontally
* Repeat y: tile the image vertically

By default, the background image is set as no repeat.<br>

**Background position**

This setting allows you to move your background image around within its container.

There are 9 options to place your background image:

* Top left/ top center/ top right
* Middle left/ middle center/ middle right
* Bottom left/ bottom center/ bottom right.

</details>

<figure><img src="/files/Eer3q7hMTAuxCGI0oYxK" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
You can quickly change the color used as your section background by clicking on the section > quick actions bar.
{% endhint %}

<figure><img src="/files/8TvLbhJ1osPvvHrmeKaI" alt=""><figcaption></figcaption></figure>

## Change the section size

Change your section size and container width anytime to fit your desire.

### Change the section size

{% hint style="success" %}
**Steps:**

1. Click on the section in the editor.
2. Click and drag the Adjust section height handle ![](/files/qfGM3FcZH85NxBgy64aA) at the bottom of the section to make it taller or shorter.
   {% endhint %}

<figure><img src="/files/kJR9dey4Wl6wEABc6OZB" alt=""><figcaption></figcaption></figure>

### Change the section container width

Section container is used to control the alignment of its content.

{% hint style="success" %}
**Steps:**

1. Click on the section in the editor.
2. In the **Inspector** panel of the section > **General** tab > **Container** setting:

* **Fixed width**: set the section width as in **Theme settings** > **Layout**.
* **Full width**: set the section to always full to the screen.
* **Custom width**: give a custom container width to the section between 800 - 1600 px.
  {% endhint %}

<figure><img src="/files/7h9IxsmyjeZwz73NEEKT" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
You can quickly change your section width to either Fixed width/Full width by clicking on the section > quick actions bar.
{% endhint %}

<figure><img src="/files/QsI1fNN1EeXzegxz7nSf" alt=""><figcaption></figcaption></figure>

***

<div data-full-width="false"><figure><img src="/files/kcilvHtHzK8t5VOGf1nR" alt=""><figcaption><p>Foxify AI turns a prompt into a well-structured page layout in seconds. <a href="https://admin.shopify.com/apps/foxify-builder?utm_source=foxecom&#x26;utm_medium=help_center_edit_a_section&#x26;utm_campaign=anchor-text&#x26;utm_term=try-foxify-ai"><mark style="color:orange;">Try Foxify AI</mark></a> ✨</p></figcaption></figure></div>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.foxecom.com/foxify-app/foxstudio/page-customization/edit-a-section.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
