> For the complete documentation index, see [llms.txt](https://help.pixfizz.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.pixfizz.com/personalization/the-design-tool/link-clipart-backgrounds-resources-and-masks-across-designs.md).

# Link Clipart, Backgrounds, Resources, and Masks Across Designs

Use a single "master" design as a shared library, then link its clipart, backgrounds, resources, or masks into any other design with a short reference code. This lets you maintain one library in one place and reuse it everywhere, instead of re-uploading the same files into every product.

{% embed url="<https://www.loom.com/share/120132c23e734fab8f1c849800fae4c5>" %}

> Watch the walkthrough: [Link Clipart & Backgrounds Across Multiple Designs](https://www.loom.com/share/120132c23e734fab8f1c849800fae4c5)

***

### Overview

Normally you upload clipart (or backgrounds, resources, masks) into the specific design you are working on. The linking feature lets you instead point one design at another, so the second design pulls in the first design's library automatically.

This works across **any** template. Unlike layout inheritance, which only works within the same template because page size matters, linking clipart and similar assets has no template or page-size restriction. A master library built on a canvas can be linked into a photo book, and so on.

Linking is supported for four element types:

* Resources
* Backgrounds
* Clipart
* Masks

#### Before you start

* **Desktop only.** Adding new files (clipart, etc.) is only available in the desktop design tool. On mobile, elements can't be added because positioning and rotating them on a small screen is impractical. A project started on mobile can still be opened on desktop to continue adding clipart.
* **Use transparent PNG files.** Transparency is strongly recommended so there are no white boxes around each piece of clipart.

***

### Step 1: Build the master library

Create one design to act as your shared library. The product type does not matter (canvas, book, or anything else) because clipart links across templates freely. A clearly named template design, for example one called "Clipart", works well so you can find it again later.

1. Open the design you want to use as the master library in the desktop design tool.
2. Before uploading, rename your files to something clean and recognisable, for example `leaf-01`. File names display by default, so tidy names are worth the effort. You must rename **before** uploading. You cannot rename after the file is already uploaded.
3. Upload the clipart into the design's **Clipart** panel.

#### Organise with tags (folders)

Tags on a clipart piece become folders in the gallery. This is part of what makes the linked library easy to browse.

* Add a tag such as `nature` to group related pieces into a folder.
* Remove the tag and the piece sits at the top level with no folder.
* Because tags create the folder structure, you don't need to repeat the folder name in the file name. The tag handles grouping, so a simple name like `leaf-01` is enough.

Any tags you set up on the master design are carried through to every design that links to it.

***

### Step 2: Find the master design's ID

The design ID is the number shown in the browser URL while you have the master design open. Note this number down. You will use the same ID in every design you link to.

***

### Step 3: Link the library into another design

In each design where you want the library available, you link instead of uploading.

1. Open the target design in the desktop design tool. It can be in the same template as the master or a completely different one.
2. Go to the **Clipart** panel (or **Backgrounds**, **Resources**, or **Masks**, depending on what you are linking).
3. Use the **Link** button rather than uploading.
4. Enter the reference in this format:

   ```
   px.design:DESIGN_ID
   ```

   For example: `px.design:1234567`

That's it. The linked design's content becomes available here, organised by the same tags and folders as the master. A link icon next to the item indicates it is linked from another design rather than uploaded directly.

Repeat this for every design that needs the library, using the same `px.design:DESIGN_ID` each time.

***

### How it works

* `px.design:DESIGN_ID` pulls in all content of the matching element type (resources, backgrounds, clipart, or masks) from the referenced design.
* The same reference works for all four element types.
* Tags from the master design come through as folders, so your grouping stays consistent everywhere.
* A link icon marks linked items, so you can tell at a glance which content is shared versus uploaded locally.
* You maintain the library in one place (the master design), then reference it wherever you need it.

***

### Hiding clipart file names

If you would rather not show file names under each piece, you can hide them with CSS.

Each image caption uses the `px-caption` class. To hide image file names while keeping folder names visible, target image items specifically:

```css
.px-gallery-item.px-image .px-caption {
	display: none;
}
```

This CSS must go in an **editor** CSS location, not the storefront stylesheet. The storefront `style/custom.css` does not reach inside the design tool. Use one of these instead:

* **Pixfizz 'Standalone' CMS:** the `editor.css` page
* **Shopper:** the `style/editor.css` snippet
* **Shopify integration:** the `style/editor.css` snippet
* **Either path:** the Custom CSS field in **Settings > Design Tool** (Design Tool Configuration) must have the value `editor.css`

If you need help adding this CSS, contact Pixfizz support at <support@pixfizz.com>

***

### Tips

* Keep file names short and clean before uploading. They display in the gallery and cannot be renamed after upload.
* Let tags do the grouping. You don't need to prefix file names with the folder name.
* Build one master library per element type or theme, and reuse the same design ID everywhere.
* Remember the desktop-only and transparent-PNG requirements when preparing artwork.

***

### Summary

| Element type | Linkable with `px.design:` |
| ------------ | -------------------------- |
| Resources    | Yes                        |
| Backgrounds  | Yes                        |
| Clipart      | Yes                        |
| Masks        | Yes                        |

| Action            | Where                                                                                                  |
| ----------------- | ------------------------------------------------------------------------------------------------------ |
| Get the design ID | Browser URL of the master design                                                                       |
| Link the library  | Link button in the target design's Clipart/Backgrounds/Resources/Masks panel                           |
| Hide file names   | `px-caption` class in editor CSS (`editor.css`, `shopify/custom-styles`, or Design Tool Configuration) |

***

### Related

* Design Tool Configuration: **Settings > Design Tool**
* Editor CSS customisation
