# Labels in square brackets

> Add small labels to menu links and product photos by typing them in square brackets, and keep a photo visible for every variant with #all.

Source: https://spellnsell.com/themes/kera/docs/store-data/labels · Kera 1.0.0 · Updated 2026-11-14

**Where:** Shopify admin > Online Store > Navigation, or Products > a product > Media

Type a label in square brackets, such as `Rings [New]`, and the theme shows it as a badge and removes it from the printed text. No app or metafield needed.

| Where you type it | What shoppers see |
| --- | --- |
| A menu link called `Gifts [New]` | ![The Gifts menu link with a New badge beside it](https://spellnsell.com/themes/kera/img/preview-label-menu.webp) |
| A photo's alt text ending in `[Bestseller]` | ![A product photo with a Bestseller badge in its top left corner](https://spellnsell.com/themes/kera/img/preview-label-photo.webp) |

## Set it up

1. **Menu link:** in **Online Store > Navigation**, open the menu and add the label to an item's name, for example `Rings [New]`.
2. **Product photo:** open the product, click a photo in **Media**, and add the label after the alt text, for example `Sculpted hoop, worn [Bestseller]`.
3. Save. More than one label works: `Rings [New] [Gift]`.

:::note
Photo labels show in the product page gallery only. Shopping feeds and apps that read alt text directly may still show the brackets.
:::

## Good to know

:::details Where do menu labels show?
In the header, mega menus, mega menu cards and the mobile menu. Where the plain name is needed, such as an "All Rings" link or an accessible label, the theme uses "Rings".
:::

:::details Where do photo labels show?
In a top corner of that photo in the product page gallery. Screen readers and search engines get the alt text without the label. Turn labels off with **Show labels from alt text** in the **Media gallery** block (installs on).
:::

:::details How do I keep a photo for every variant?
With **Selected variant photos only** on in the **Media gallery** block, a variant shows its own image plus the photos after it, up to the next variant's image. Add `#all` to a photo's alt text, such as `Gift box #all`, to show it for every variant. The theme removes `#all` from the printed alt text.
:::

:::details How do labels look?
They use **Metafield badge style** (**Outline**, **Accent** or **Solid**) in **Theme settings > Badges**, and the badge shape and size. See [Product cards and badges](https://spellnsell.com/themes/kera/docs/theme-settings/product-cards).
:::

:::details What are the exact rules?
A label is the text between `[` and `]`, trimmed. A `[` without a closing `]` stays as typed. Empty `[]` shows nothing. Brackets elsewhere, such as in product titles, print as typed.
:::

:::details Can I translate a label?
Yes. In Translate & Adapt, translate the menu item or alt text and keep the brackets. See [Translations and languages](https://spellnsell.com/themes/kera/docs/reference/translations).
:::
