Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What kinds of files and formats are used in a theme?

files formats theme Used
0
Posted

What kinds of files and formats are used in a theme?

0

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.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123