Skip to main content

Add a CSS class to an overlay asset

Apply a CSS class to an asset that opens in an overlay viewer. Covers targeting and scope within the overlay context.

An overlay allows an asset to be emphasized by rendering it on top of the rest of the site's content while also obscuring the area around the asset. Video playback, image expansion, PDF, and HTML packages are rendered in an overlay with Zoomforth.

Design customization for overlay assets can be done using CSS classes.

To add a CSS class for an overlay asset on image expansion

1. Click the image you want to open in overlay or expansion.

Access Site Editing Interface

2. Click the Action tab.

Open Editing Options

3. Under On click, click Edit / Preview.

Enter Edit Preview Mode

4. In the CSS Classes field, enter the CSS class to use for the overlay asset to apply the styling to the overlay.

Add CSS Class

5. Click Finish editing to save your changes and exit the editing mode for the image tile.

Complete the Process

6. Click Done Editing Tile to confirm and finalize all edits made to the image tile.

Finalize Tile Editing
Did this answer your question?