Theme settings

Last updated on
2 December 2018

Drupal 7 will no longer be supported after January 5, 2025. Learn more and find resources for Drupal 7 sites

Various page elements can be output by the theme. It can be toggled on and off on the theme's configuration page.

Drupal 7

You can locate these settings at "Administer > Appearance > Settings > themeName". For example, the site's slogan can be suppressed by unchecking the "Site slogan" check box on that page.

Screenshot of features enabled in Drupal 7

These check-boxes show themselves depending on the features enabled inside the .info file. It must be specified with the key of 'features' followed by empty brackets then the feature itself, e.g., features[] = the_feature. If none is defined, the following values are assumed.

features[] = logo
features[] = name
features[] = slogan
features[] = node_user_picture
features[] = comment_user_picture
features[] = comment_user_verification
features[] = favicon
features[] = main_menu
features[] = secondary_menu

Drupal 7 removes the previously available mission and search as theme features (they can be created and controlled as blocks instead) and it adds a toggle for "User verification status in comments".

To disable any features, only add the ones you want into the .info file. The rest will be omitted when defining only the features that are needed for the theme. Some of the features will also enable related form fields. For example, 'logo' will enable an upload field for the image along with the checkbox.

Note:

The contents of the .info file are cached in the database so altering it will not be noticed by Drupal. (Do not confuse this with the theme registry.) To learn how to clear it, check out the options in Clearing the theme cache.

Help improve this page

Page status: No known problems

You can: