Theme Handbook Starting a New Theme

Creating Theme Thumbnails

Prerequesites

Steps

  1. Activate the theme for which you wish to create thumbnails.
  2. Open your test site’s homepage in Firefox Developer Edition.
  3. If you’re logged in, add /?_bare to the end of the url to remove the admin toolbar.
  4. Open Responsive Design Mode (cmd + opt + m).
  5. Above the responsive page frame, enter the page dimensions for your screenshot (for mobile, 320x576; for desktop, 1280x800).
  6. Ensure the control bar above your page’s dimensions says “DPR: 1”. If it says something else (like “DPR: 2”), click it and select “DPR: 1” instead.
  7. On the right of the control bar above your page dimensions, click the camera icon.
  8. Open your Downloads folder to see the screenshot.
  9. Open ImageOptim and drag your new screenshots into the software.
  10. Observe that the screenshots’ file sizes have been greatly reduced.
  11. Move the files to the root folder of the appropriate theme (ex. SUThemeGumwood/).
  12. Rename the screenshots to desktop.png, phone.png, desktop~asc.png, etc, as appropriate.