Skip to content

Overlay labels

This guide describes how to set up the Overlay labels feature.

Example of overlay labels

The previous image shows an example Overlay label on a store page.

Exhibit's theme sections and page templates include an Overlay labels feature. The feature displays when a store visitor places their cursor over a tile on a page or "tabs" through store content using their keyboard.

Exhibit's theme sections and pages provide two types of overlay labels:

  • Text overlay
  • Follow mouse

Sections that support overlay labels

The following sections include the Overlay labels feature:

  • Collage
  • Collection carousel
  • Collection list carousel
  • Collection list slideshow
  • Collection list
  • Featured collection
  • Featured products
  • Image carousel
  • Image gallery
  • Image slideshow
  • Products carousel
  • Products slideshow
  • Related products
  • Video carousel
  • Video grid
  • Video slideshow

Overlay labels are also supported in the following page templates:

  • Collection
  • List collections

Enable overlay labels

To enable overlay labels:

  1. In Theme editor, select a section that supports overlay labels.

    Refer to Sections that support overlay labels.

  2. In the section menu, set the Display dropdown to Text overlay on hover or Follow mouse on hover.

    The overlay labels dropdown options in Theme editor.

Style overlay labels

Complete the following steps to set up default styles for overlay labels and customize their appearance.

  1. In Theme editor, select Theme settings > Overlay labels.

    The overlay labels section in theme settings

  2. Select a setting described in the following table.

Setting nameDescription
Background colorUse the Background color dropdown to set a background color for labels. Choose a color from your store's color schemes or set the background to Transparent.
Text colorUse the Text color dropdown to set a color for label text. Choose a color from your store's color schemes. Alternatively, select White or Black.
Blend modeUse the Blend mode dropdown to set how label content blends with the label background color. Refer to Mozilla developer documentation: Mix blend mode.
Line heightAdjust the Line height slider to display more or less space between lines of text inside a label. The slider ranges from 0 to 2. Depending on the font, adjustments to the line height may be required to display no gaps between lines of text.
Text overlay on hover > Desktop font size scaleAdjust the slider Desktop font size scale to specify a font size for the text that's display inside labels. The slider ranges between -2 and 10. This setting only affects "Text overlay on hover" type labels on desktop display devices.
Follow mouse on hover > Desktop font size scaleAdjust the slider Desktop font size scale to specify a font size for the text that's display inside labels. The slider ranges between -2 and 7. This setting only affects "Follow mouse on hover labels" type labels on desktop display devices.

Note

Some combinations of blend modes and label colors might make overlay labels invisible or difficult to see.

We recommended using a suitable background color for overlay labels for high contrast and accessibility purposes.

Overlay label examples

The following images show examples of the overlay labels feature. A list of the Theme settings used to create each example is provided with each image.

Overlay label example 1

  • Background color set to White.

  • Text color set to Black.

    Overlay label example 1

Overlay label example 2

  • Background color set to White.

  • Text color set to Black.

  • Line height adjusted so that no gaps appear between lines.

    Overlay label example 2

Overlay label example 3

  • Background color set to (color) Scheme accent.

  • Text color set to White.

  • Blend mode set to Screen.

    Overlay label example 3