Can't find what you're looking for? Try our AI Chat Bot in the bottom right corner!

Articles in this section

Theme Editor

Miva’s Theme Editor provides a centralized way to define and manage your store’s typography, buttons, badges, and layout styles. These styles are consistently applied across supported built-in Shadows templates and can be used in PageBuilder Flex components and directly within template code.

This helps maintain a consistent appearance across your storefront while reducing the need to style individual elements separately.

Accessing Theme Editor

Theme Editor is available within PageBuilder, go to User Interface > Theme Editor, or the Edit icon below Page Settings.

The editor opens as a side panel with controls for Typography, Buttons, and Layout, alongside a live preview of the storefront.

Note: Fonts are managed through Font Manager (User Interface > Resources > Fonts). Fonts enabled or added there are available in the Font Family settings within Theme Editor.

Typography

The Typography section defines reusable text styles for headings and paragraph content.

Available settings include:
  • Color

  • Font family, weight, style, and size

  • Line height

  • Letter spacing

  • Text transform

  • Word wrap and white space

  • Class name (Advanced Settings)

Headings

Heading styles are defined per level (H1–H6) and can be configured independently, including responsive adjustments for different screen sizes.

Paragraphs

Paragraph styles define the default text formatting used throughout the storefront, with the same set of configurable properties and responsive controls.

Buttons

The Buttons section defines styles for buttons and links used throughout the storefront.

Available settings include:
  • Class name

  • Text styles (font and color)

  • Fill color

  • Padding and border

  • Corner radius

  • Drop shadow

  • States (default, hover, disabled)

Badges

Theme Editor includes a Badges section where you can customize reusable styles for product flags, inventory messages, and other storefront notifications.

Badges are small labels that help shoppers quickly identify important information, such as a sale, a new product, or an item's availability.

Badge Styles

Miva includes 16 preset badge styles, with four different appearances:

  • Default: A standard badge style.
  • Flag: A label designed to highlight information, such as product promotions.
  • Minimal: A simpler style with less visual emphasis.
  • Pill: A badge with rounded corners.

Each style includes Info, Warning, Error, and Success variations.

You can customize the appearance of these badges in Theme Editor using settings such as:

  • Text formatting and color
  • Background color
  • Padding and borders
  • Corner radius
  • Drop shadow

Unlike buttons, badges do not have hover or disabled states.

Using Badges in PageBuilder

Badge styles are available in supported PageBuilder Flex Components, helping maintain a consistent appearance for product flags and storefront messages.

For example, you can use a Pill: Error badge to highlight a sale on a product card.

You can also use Override Styles within supported components to customize a badge's appearance without changing its shared Theme Editor style.

Product Flags

The Product List Flex Component uses Theme Editor badges to highlight information directly on product cards. You can configure flags for:

  • Custom Field: Display a value from a product custom field.
  • Inventory Message (Short): Display a short inventory status.
  • New: Highlight recently added products.
  • Sale: Display promotional information, such as a percentage discount.

The Product List component determines which flags appear, while Theme Editor controls their appearance.

To configure product flags, open a Product List component in PageBuilder and go to Properties → Product Card → Flags.

From there, you can enable Flags, choose the maximum number displayed per product, add flag types, and select their badge styles.

For detailed configuration instructions, see the Enhanced Product List Component documentation.

Layouts

The Layouts section defines responsive breakpoints used across the storefront. 

Typography and Button styles can be assigned to specific screen sizes using start and end values.

Changes are applied globally when the theme is updated.

Theme Editor in Practice

Theme Editor styles are applied globally across the storefront.

Typography and button styles extend beyond PageBuilder content to built-in Shadows templates, including:

  • Customer account pages

  • Checkout

  • MivaPay

  • Wish lists

  • Static pages

  • Order history

  • Gift certificates

  • Affiliate areas

Note. These changes only exist in the version of shadows released with Miva 26R1. The template changes are significant but could be retro-actively added to older Shadows versions with developer assistance.

Flex components use Theme Editor styles by default, with the option to override styles locally within the component.

Theme styles can also be managed through XML provisioning. For developer documentation, see
https://docs.miva.com/developer/developer-resources/xml-provisioning/theme-editor-provisioning/

Legacy Styles

If you upgraded to Miva 10.12.00 your flex components may present "Legacy Styles". You can improve efficiency by using the Theme Editor to create a global style guide, and replace these legacy styles with your newly created styles.

 

Was this article helpful?
0 out of 0 found this helpful