---
url: 'https://dxpr.com/hc/documentation/learn-dxpr-builder/ai/section-editing'
title: 'Change a section with AI | DXPR'
author:
  name: docs-sync
  url: 'https://dxpr.com/users/docs-sync'
date: '2026-10-23T14:31:17+00:00'
copyright: 'Copyright DXPR. All rights reserved.'
type: article
summary: 'Ask the AI to add to, rewrite or rebuild one section or element of a page'
tags:
  - 'Write and design with AI'
image: 'https://dxpr.com/themes/custom/dxpr_com/images/dxpr-share-card.jpg'
published: true
og:
  site_name: DXPR
  updated_time: '2026-10-23T14:31:17+0000'
  'image:alt': 'DXPR, powered by Drupal: AI-powered Drupal for marketers.'
schema:
  '@context': 'https://schema.org'
  '@graph':
    -
      mainEntity: {  }
    -
      '@type': TechArticle
      headline: 'Change a section with AI'
      description: 'Ask the AI to add to, rewrite or rebuild one section or element of a page'
      image:
        '@type': ImageObject
        url: 'https://dxpr.com/themes/custom/dxpr_com/images/dxpr-share-card.jpg'
        width: '1200'
        height: '630'
      datePublished: '2026-10-23T14:31:17+0000'
      dateModified: '2026-10-23T14:31:17+0000'
      author:
        '@type': Organization
        '@id': 'https://dxpr.com/#organization'
        name: DXPR
        url: 'https://dxpr.com/'
        logo:
          '@type': ImageObject
          url: 'https://dxpr.com/themes/custom/dxpr_com/dxpr-logo-dark.svg'
          width: '1348'
          height: '501'
      publisher:
        '@type': Organization
        '@id': 'https://dxpr.com/#organization'
        name: DXPR
        url: 'https://dxpr.com/'
        logo:
          '@type': ImageObject
          url: 'https://dxpr.com/themes/custom/dxpr_com/dxpr-logo-dark.svg'
          width: '1348'
          height: '501'
      mainEntityOfPage: 'https://dxpr.com/hc/documentation/learn-dxpr-builder/ai/section-editing'
      articleSection: 'Write and design with AI'
    -
      '@type': WebPage
      '@id': 'https://dxpr.com/hc/documentation/learn-dxpr-builder/ai/section-editing'
      description: 'Ask the AI to add to, rewrite or rebuild one section or element of a page'
      breadcrumb:
        '@type': BreadcrumbList
        itemListElement:
          -
            '@type': ListItem
            position: 1
            name: Home
            item: 'https://dxpr.com/'
      publisher:
        '@type': Organization
        '@id': 'https://dxpr.com/#organization'
        name: DXPR
      inLanguage: en
---
[Help Center](/hc)/[Documentation](/hc/documentation) /[Learn DXPR Builder](/hc/documentation/learn-dxpr-builder) /[Build pages](/hc/documentation/learn-dxpr-builder/build) /[Write and design with AI](/hc/documentation/learn-dxpr-builder/ai) # Change a section with AI.

Ask the AI to add to, rewrite or rebuild one section or element of a page

 Learn DXPR BuilderBuild pagesWrite and design with AI

   ## In this guide

 Related guides

- [Page creation](/hc/documentation/learn-dxpr-builder/ai/page-creation)
- [Text commands](/hc/documentation/learn-dxpr-builder/ai/text-commands)
- [Undo and redo](/hc/documentation/learn-dxpr-builder/editing/undo-redo)

Tell the AI what a section needs, for example a paragraph about parking, and it changes that part of the page for you. It can add content, add a section above or below, or rewrite or replace it. Use this for changes bigger than one paragraph; for a single paragraph, see [Rewrite text with AI](/hc/documentation/learn-dxpr-builder/ai/text-commands). The video adds parking details to an Open Day section.

  ## Before you start

- AI is switched on, with **Enable page creation assistant** ticked. See [Turn on AI in DXPR Builder](/hc/documentation/learn-dxpr-builder/ai/setup).
- The page has the section or element you want to change.

## Set up

1. Point at the section and click **More** on its control bar.
2. Choose **Edit with AI**.
3. Describe the change in the box, for example "Add a short paragraph about parking below the text".
4. Click **Generate content**.
5. Wait while the AI makes the change.
6. Click **Save** on the builder toolbar.

Every element has the same **Edit with AI** in its **More** menu: a text, a button, a row or a column. You can also select an element and press Ctrl+E (Cmd+E on a Mac). On an Image element, **Edit with AI** creates or edits the picture instead, see [Generate an image with AI](/hc/documentation/learn-dxpr-builder/ai/image-generation).

## What you see

While the AI works, a status line says what it is doing, for example "Adding new content at the end..." or "Replacing the selected element...". **Cancel generation** (or Esc) stops it. Then the change appears on the page as normal builder elements, which you edit like any others.

The AI chooses where the change goes, based on your words:

| Your words | What the AI does |
|---|---|
| "add ... below", "add ... at the end" | Adds content at the end of the element |
| "add ... at the top" | Adds content at the start of the element |
| "add a section above" or "below" | Adds a new section before or after it |
| "rewrite", "shorten", "translate" | Rewrites the content inside the element |
| "replace this with ..." | Replaces the whole element |

Not what you wanted? Press Ctrl+Z (Cmd+Z on a Mac) to undo the change, then try clearer words. Open **Edit with AI** again and the box still holds your last request.

## If you don't see the change

- **The More menu has no Edit with AI.** **Enable page creation assistant** is off. Tick it at `/admin/dxpr_studio/dxpr_builder/ai_settings`.
- **Edit with AI is greyed out.** No AI provider is configured. Follow [Turn on AI in DXPR Builder](/hc/documentation/learn-dxpr-builder/ai/setup).
- **A message says "Could not determine which part of the page to change."** The AI could not tell where to put the change. Select the element you mean, open **Edit with AI** on it and say where the change goes, for example "below the heading".
- **The status line turns into "Hmm...something seems to have gone wrong."** DXPR could not finish the request, for example because the account is out of credits. Click **Retry**, or check **Credits remaining** at `/admin/dxpr_studio/dxpr_builder/ai_settings`.

## What's next?

- [Draft a page with AI](/hc/documentation/learn-dxpr-builder/ai/page-creation): start a whole page from a brief.
- [Rewrite text with AI](/hc/documentation/learn-dxpr-builder/ai/text-commands): change the tone of one paragraph.
- [Undo and redo](/hc/documentation/learn-dxpr-builder/editing/undo-redo): step back through your changes.