1. Appearance styles settings

Banner additional settings

When you select a template for a Sitecore Discover banner widget, you configure settings to personalize the appearance of the widget.

Note

Unless specified, settings apply to all device types.

Basic settings

Depending on the banner widget you select, you set up some or all of the following fields for basic settings:

FieldDescription
Image UrlSource URL of the banner image for desktop and tablet devices.
Image Url [mobile]Source URL of the banner image for mobile devices.
Image Url [email]Source URL of the banner image for email messages.
Image hrefDestination URL that the user goes to when they click the image banner.
Clickthrough URLDestination URL that the user goes to when they click the banner.

Image settings

Set up some or all of the following fields for image settings:

FieldDescription
Max HeightExact height of the image for desktop and tablet devices. Use pixels (px), percentage (%), viewport height (vh), or em.
Max Height [mobile]Exact height of the image for mobile devices. Use pixels (px), percentage (%), viewport height (vh), or em.
Max WidthExact width of the image for desktop and tablet devices. Use pixels (px), percentage (%), viewport width (vm), or em.
Max width [mobile]Exact width of the image for mobile devices. Use pixels (px), percentage (%), viewport width (vm), or em.
Image separationSpace between images for desktop and tablet devices. Use pixels (px), percentage (%), or em.
Image separation [mobile]Space between images for mobile devices. Use pixels (px), percentage (%), or em.
Image HeightHeight of the image to fill the container for desktop and tablet devices. Use pixels (px), percentage (%), viewport height (vh), or em.
Image Height [mobile]Height of the image to fill the container for mobile devices. Use pixels (px), percentage (%), viewport height (vh), or em.

Box model settings

Set up some or all of the following fields for box model settings:

FieldDescription
PaddingPadding around the container of the image banner. Use the padding CSS shorthand property.
MarginMargin around the container of the image banner. Use the margin CSS shorthand property.
BorderBorder around the container of the image banner. Use the padding CSS shorthand property.
BackgroundBackground color of the banner. Use the color CSS property.

Default: transparent.

Overlay text settings

Set up some or all of the following fields for overlay text settings:

FieldDescription
Image overlay titleTitle text that appears over the image.
Image overlay subtitleSubtitle text that appears over the image.
Image overlay buttonText appears on the button on the image.

Overlay position settings

Set up some or all of the following fields for overlay position settings:

FieldDescription
Image overlay max widthMaximum width of the overlay text for desktop and tablet devices. Use pixels (px), percentage (%), viewport width (vw), or em.
Image overlay max width [mobile]Maximum width of the overlay text for mobile devices. Use pixels (px), percentage (%), viewport width (vw), or em.
Image overlay top positionStarting top position of the overlay text for desktop and tablet devices. Use pixels (px), percentage (%), or em.
Image overlay top position [mobile]Starting top position of the overlay text for mobile devices. Use pixels (px), percentage (%), or em.
Image overlay left positionStarting left position of the overlay text for desktop and tablet devices. Use pixels (px), percentage (%), or em.
Image overlay left position [mobile]Starting left position of the overlay text for mobile devices. Use pixels (px), percentage (%), or em.

Fonts settings

Set up some or all of the following fields for font settings:

FieldDescription
Font Family LightFont family for the title and subtitle. Use the font-family CSS property.
Font Family BoldFont family for the button text. Use the font-family CSS property.

Slide settings

Set up some or all of the following fields for variables for each slide's settings:

FieldDescription
Image UrlSource URL of the image on this slide for desktop and tablet devices.
Image Url (mobile)Source URL of the image on this slide for mobile devices.
Image AltHover text for the image.
Clickthrough URLURL of the destination page associated with the image on the slide.

Autoplay settings

Set up some or all of the following fields for autoplay settings:

FieldDescription
Enable AutoplayWhether you want the carousel to loop continuously. Enter 1 if you want autoplay and 0 if you do not want autoplay.

Default: 0.
Autoplay SpeedTime, in milliseconds, between each slide if you enable autoplay.

Default: 3000.

Slider container style settings

Set up some or all of the following fields for slider container style settings:

FieldDescription
Slider Container BackgroundBackground color of the banner. Use the color CSS property.Default: transparent.
Slider Container BorderBorder around the slide container. Use the border CSS shorthand property. This sets the same width, color, and style for all four borders.
Slider Container Border RadiusCorner roundess of the slide container border. Use the border-radius CSS property.For example, set this variable to
% to get a circular shape.5px 5px 0 0 to apply a 5 pixel radius to the top-left and top-right corners, and no radius to the bottom-left and bottom-right corners.Default: 0.
Slider Container Box ShadowBox shadow of the slide container. Use the box-shadow CSS property.
Slider Container Margin (desktop &tablet)Margin around the slide container for desktop and tablet devices. Use the margin CSS shorthand property.
Slider Container Margin (mobile)Margin around the slide container for mobile devices. Use the margin CSS shorthand property.
Slider Container Height (desktop & tablet)Height of the slide container for desktop and tablet devices. Use pixels (px), percentage (%), viewport height (vh), or em.
Slider Container Height (mobile)Height of the slide container for mobile devices. Use pixels (px), percentage (%), viewport height (vh), or em.
Slider Container Width (desktop & tablet)Width of the slide container for desktop and tablet devices. Use pixels (px), percentage (%), viewport width (vm), or em.
Slider Container Width (mobile)Width of the slide container for mobile devices. Use pixels (px), percentage (%), viewport width (vm), or em.

Image style settings

Set up some or all of the following fields for image style settings:

FieldDescription
Image Height (desktop & tablet)Height of the image for desktop and tablet devices. Use pixels (px), percentage (%), viewport height (vh), or em.
Image Height (mobile)Height of the image for mobile devices. Use pixels (px), percentage (%), viewport height (vh), or em.

Arrow style settings

Set up some or all of the following fields for arrow style settings:

FieldDescription
Display ArrowsWhether you want to show or hide navigation arrows. Enter 1 if you want to show arrows and 0 if you do not want to show arrows.

Default: 1.
Arrow ColorThe color of the arrow on the slide. Use the color CSS property.

Default: #fafafa (light grey)
Arrow Size (desktop & tablet)The arrow size for desktop and tablet devices. Use pixels (px).
Arrow Size (mobile)The arrow size for mobile devices. Use pixels (px).
Arrow Top Position (desktop & tablet)The position of the top of the arrow for desktop and tablet devices. Use pixels (px).
Arrow Top Position (mobile)The position of the top of the arrow for mobile devices. Use pixels (px).

Dot style settings

Dots indicate that there is more than one image. Set up some or all of the following fields for dot style settings:

FieldDescription
Display DotsWhether you want to show dot pagination. Enter 1 if you want to show dots and 0 if you do not want to show dots.

Default: 1.
Dots Alignment (desktop & tablet)Alignment of dots on the slide for desktop and tablet devices. Enter left, right, or center.

Default: center.
Dots Alignment (mobile)Alignment of dots on the slide for desktop and tablet devices. Enter left, right, or center.

Default: center.
Dots Active ColorDot color for the currently displayed slide. Use the color CSS property.
Dots ColorDot color for the inactive slides. Use the color CSS property.
Dots Size (desktop & tablet)Dot size for desktop and tablet devices. Use pixels (px).
Dots Size (mobile)Dot size for mobile devices. Use pixels (px).
Dots Bottom Position (desktop & tablet)Position of the bottom of the dot for desktop and tablet devices. Use pixels (px).
Dots Bottom Position (mobile)Position of the bottom of the dot for mobile devices. Use pixels (px).
Dots Space Alignment (desktop & tablet)Space between the slide container and the dot container for desktop and tablet devices. The variable is only applicable when dots are left or right, aligned. Use pixels (px), percentage (%), or em.

Default: 10 px.
Dots Space Alignment (mobile)Space between the slide container and the dot container for desktop and tablet devices. This variable is only applicable when dots are left or right, aligned. Use pixels (px), percentage (%), or em.

Default: 10 px.
If you have suggestions for improving this article, let us know!