Patterns

Change a pattern everywhere it is used

Edit a pattern when a change belongs on every page that uses it, such as a new background color for your newsletter section. Your Ghost site shows the change after you publish the theme to Ghost, or download it and upload it in Ghost Admin.

Open the pattern from a page

  1. Open your project in Fantasma.
  2. On the canvas, click a section that follows the pattern. Its toolbar shows Edit pattern and Detach.
  3. Click Edit pattern in the right sidebar, under the section's name. In the toolbar, it is the layers icon. The Patterns panel opens with the pattern on the canvas, and its section is listed under Sections at the bottom of the panel.

You can also click the Patterns icon in the icon rail, click the pattern's category in the panel, then click the pattern's name above its preview on the canvas.

Make the change

  1. Under Sections at the bottom of the Patterns panel, click the section or one of its blocks.
  2. Change it the way you change any section on a page. Settings are in the right sidebar, text is on the canvas, and + adds blocks.

Every section that follows the pattern shows the change right away. Text, links and images that a page changed for itself stay as that page set them. To see where the pattern is used, click the Pattern tab at the top of the right sidebar. It lists each page under Used by. Click a page to open it.

When you edit a built-in pattern, your version replaces it in this project and counts toward the 60 patterns a project holds. Reset to original, on the same Pattern tab, brings the built-in version back.

Let each page have its own blocks

Turn on a content area when the pages that use the pattern need different blocks in one place, such as a different number of paragraphs.

  1. In the pattern, select the section, or a block that holds other blocks, such as a Group.
  2. In the right sidebar, on the Section or Block tab, turn on Content area.
The pattern editor with the Newsletter CTA section selected and the Content area switch turned on in the right sidebar

On each page that uses the pattern, you can now add, remove and reorder blocks in that section or block, and the section stays linked. How patterns work lists the blocks a content area accepts.

Change one page only

On a page, you can change the text, links and images of a section that follows a pattern without any question. To add, move or delete its blocks on one page only, make the change on that page. Fantasma asks whether to Edit pattern or Change only here. Change only here applies the change and detaches that section from the pattern. To detach a section without changing it, click Detach in its toolbar.

Was this article helpful?