style

You can apply the following command both from the URL query string and config. The command applied in the URL query string always takes precedence over the same command present in config.

style= *cssPath*

cssPath

Relative or absolute CSS location.

Specifies the location of the custom CSS file. If the cssPath is relative, it is resolved against the viewer HTML page location and the value of contentUrl= parameter.

All asset references within the CSS file are resolved against the CSS file location, not the location of the calling HTML page.

Properties

Optional.

Default

None.

Examples

style=/skins/customStyle.css

style=etc/dam/presets/css/html5_interactiveimage.css

style=etc/dam/presets/css/html5_interactivevideo.css

style=etc/dam/presets/css/html5_carouselviewer_dotted_light.css

On this page

Adobe Maker Awards Banner

Time to shine!

Apply now for the 2021 Adobe Experience Maker Awards.

Apply now
Adobe Maker Awards Banner

Time to shine!

Apply now for the 2021 Adobe Experience Maker Awards.

Apply now