Save a section as a pattern when you want the same section on several pages, such as a newsletter signup or a call to action. You design it once, and every page that uses it follows the changes you make to the pattern.
Save the section
Open your project in Fantasma.
In the left sidebar, under Templates, click the page that holds the section, such as Homepage.
Under Sections, right-click the section. You can also right-click the section on the canvas.
In the menu that opens, select Save as pattern.
The pattern takes the section's name, and a message such as "Saved Latest Posts" appears with an Edit pattern button. The section on the page now follows the new pattern, and gets Edit pattern and Detach in its toolbar.
The new pattern goes into the Patterns panel, in a category named Your patterns. Fantasma creates that category the first time you save a pattern. Sections of a layout, such as the header and footer that pages share, can be saved the same way. Change the header and footer on every page explains layouts.
Add the pattern to another page
In the left sidebar, click the page where you want the pattern.
On the canvas, point at the line between two sections and click +. An empty section appears, with a row of cards: Blank, four patterns and All patterns.
Click All patterns. The Add Pattern to Template dialog opens.
In the dialog's list of categories, click Your patterns.
Click the pattern. It replaces the empty section and follows the pattern.
A project holds up to 60 patterns of its own. Built-in patterns you have edited count toward that number. When the project is full, saving shows "The project cannot accept more patterns." Delete a pattern you no longer use to make room, as Organize your pattern library shows. A pattern holds one section, so save each section on its own.
The pattern lives in the builder. Your Ghost site shows the section after you publish the theme to Ghost, or download it and upload it in Ghost Admin.
Save a section as a pattern when you want the same section on several pages, such as a newsletter signup or a call to action. You design it once, and every page that uses it follows the changes you make to the pattern.
Save the section
Open your project in Fantasma.
In the left sidebar, under Templates, click the page that holds the section, such as Homepage.
Under Sections, right-click the section. You can also right-click the section on the canvas.
In the menu that opens, select Save as pattern.
The pattern takes the section's name, and a message such as "Saved Latest Posts" appears with an Edit pattern button. The section on the page now follows the new pattern, and gets Edit pattern and Detach in its toolbar.
The new pattern goes into the Patterns panel, in a category named Your patterns. Fantasma creates that category the first time you save a pattern. Sections of a layout, such as the header and footer that pages share, can be saved the same way. Change the header and footer on every page explains layouts.
Add the pattern to another page
In the left sidebar, click the page where you want the pattern.
On the canvas, point at the line between two sections and click +. An empty section appears, with a row of cards: Blank, four patterns and All patterns.
Click All patterns. The Add Pattern to Template dialog opens.
In the dialog's list of categories, click Your patterns.
Click the pattern. It replaces the empty section and follows the pattern.
Add a section to a page shows the other ways to add a section.
Limits
A project holds up to 60 patterns of its own. Built-in patterns you have edited count toward that number. When the project is full, saving shows "The project cannot accept more patterns." Delete a pattern you no longer use to make room, as Organize your pattern library shows. A pattern holds one section, so save each section on its own.
The pattern lives in the builder. Your Ghost site shows the section after you publish the theme to Ghost, or download it and upload it in Ghost Admin.
Next, change the pattern everywhere it is used.