Creating a Thumbnail Preview for Your Theme

When you apply a theme to your site pages, you have to choose from the list of available themes in the site selector. The only identification for each theme is the theme’s name, along with a small thumbnail preview image that gives a brief impression of the theme. This is even more important when developing color schemes for a theme, since names are not displayed for color schemes.

This article shows how to create a thumbnail preview for your theme so users can identify it.

Figure 1: Your theme thumbnail is displayed with the rest of the available themes.

Figure 1: Your theme thumbnail is displayed with the rest of the available themes.

Your first step in creating a thumbnail preview for your theme is taking a screenshot of your theme. Once you have a screenshot that you like, follow the steps below to create a thumbnail preview for your theme:

  1. Resize the screenshot to 480 pixels high by 270 pixels wide. Your thumbnail must be these exact dimensions to display properly.

  2. Save the image as a .png file named thumbnail.png and place it in the theme’s src/images folder (create this folder if it doesn’t already exist).

  3. Redeploy the theme. The file is displayed as the theme’s thumbnail.

Figure 2: Your theme thumbnail is displayed with the rest of the available themes.

Figure 2: Your theme thumbnail is displayed with the rest of the available themes.

« Automatically Deploying Theme ChangesCreating Color Schemes for Your Theme »
Was this article helpful?
0 out of 0 found this helpful