Skip to main content

Drupal Theme Screenshot

Submitted by admin on Wed, 08/17/2022 - 17:21
Drupal Theme Screenshot

How to create Drupal theme screenshot

By default, Drupal will look for the file named screenshot.png in the root of the theme folder and use that as the theme image on the Appearance page.

You do not need to define it anywhere. just create and place screenshot.png in root of the theme folder.

Recommended size of screenshot

The recommended size of screenshot.png image is 480px X 360px

How to change default screenshot name and location

if you do not want to use default name and location of the screenshot, you can define it in the theme-name.info.yml file.

screenshot: new.png

Thank you for reading, and let's connect!

Thank you for reading my post. Feel free to connect on Twitter, GitHub and Linkedin

Category

Add new comment

Restricted HTML

  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd> <h2 id> <h3 id> <h4 id> <h5 id> <h6 id>
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.