Using a Widget Template Example
Widget Templates are great tools for customizing how widgets look and feel on your site.
This example shows changing the default configuration of the Media Gallery widget to use a Carousel widget template.
Configuring the Media Gallery Widget
-
If you don’t already have images in your Documents and Media, add some images to Documents and Media. Open the Product Menu and go to Site Builder → Pages. Then go to Content and Data, click on Documents and Media → Add () to select files to upload.
-
Add the Media Gallery widget to an existing page on your site. Click Add () → Widgets → Content Management → Media Gallery → Publish.
-
Navigate to the widget menu () → Configuration → Display Template. Change the display template to Carousel.
The widget now uses a carousel display template.