What kinds of files and formats are used in a theme?
You’ll find several file types within our themes: • .php files – these are the backbone of a Drupal theme, and tell your website what to display where. Our themes will have at least a template.php, page.tpl.php, and node.tpl.php file. Many have more, for more targeted theming of specific sections. • .css files – these are style sheet files, which control the visual look and feel of your web site. This is where all the magic of beautiful designs happen. • Image files – these will end in .gif, .jpg, or .png, depending on the type of image. They are optimized for a balance of fast load times and prettiness. • .js files – these are JavaScript, and will add some additional functionality and whiz-bang display features to your theme.