How to create or customize drupal theme

I thought that I am programmer, but recently I also did a lot of front end job. This post will help the guys want to find out how to customize drupal theme.

For customize or create a new drupal theme, you don’t need to understand the php just need some knowledge about the HTML and CSS then will make you successfully create or customize drupla theme.

First, you need understand the construction of the drupal page. See below the picture, that is the most common useful template.


Second, here is your theme direction should look like


third, those three need have the same name


Now we could start now. go to find this file


here is the header



Here is your page.tpl.php


the rest of just css and javascript:









Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s