Jamumassage.com

deanloh - April 29, 2008 - 23:15

This is just a very simple site, really nothing to shout about, I was just too excited to share it with all as it passed W3C in one go.

http://jamumassage.com

Comments and critiques are greatly welcomed!

Looks Great!

Stigg - April 29, 2008 - 23:42

What a wonderful site! What theme did you use for that?

Thank you Stigg. The theme

deanloh - April 30, 2008 - 00:08

Thank you Stigg. The theme was built from scratch. I used to start by using themes like Zen, then I realized there was too many styles to overwrite, thus I figure it's a lot faster to build from scratch, it's just a standard two-column layout.

fantastic!

socialtalker - May 1, 2008 - 02:32

it almost gives me the courage to design from scratch myself.

Very nice

cnphause - May 1, 2008 - 16:10

Really nice work on the theme! You did a great job of pulling the artistic elements together.

nice job

webdev2 - May 1, 2008 - 17:42

can you give some specifics about how you modified the code out of the box to format it the way you want? or provide links for newbies like me? Many thanks.

I'll be happy to share, but

deanloh - May 1, 2008 - 21:28

I'll be happy to share, but if I were to tell you the whole thingamajig I can write a book. So I'll just share with you some quick tips.

To design from scratch, what I did was really just design from scratch! I assume you have adequate skills in CSS and XHTML. Otherwise you must (see my lips: MUST) pick up the skills first before you can go in and bake your own Drupal theme.

The first thing I do is to create the template in HTML and CSS (forget those Drupal theme codes such as $content, $footer_message for the time being). However, make sure you follow the structure of the files as you start. E.g. your template page should be saved under ~/sites/all/themes/(yourtheme)/page.tpl.html, likewise for the CSS file. By the way, I would have sliced out all the needed images and saved them in image folder i.e. ~/sites/all/themes/(yourtheme)/images/.

So I start by building the template in HTML and CSS and I check it constantly by previewing in various browsers. Once the template is perfected, only I will start to insert those theme codes into the correct spots, including the header codes.

Once done, I will login to admin area to enable and switch to the new theme (I presume your site is still on offline mode or you are working in localhost), otherwise the world will see your half completed theme and they will wonder what is going on.

The reason I need to turn on the theme is so that I can start to search and overwrite those default styles churned out by Drupal's built in CSS files, including the circle, square, dot bullet list which are default for most ULs and LIs. There is one other way to deal with this, which is to overwrite all the styles assigned by the built-in stylesheets, but that might just take up too much time and most of them do not show up on the front end of your site anyway. So if you would take my recommendation, copy the whole chuck of relevant classes and ID and styles as and when you see them show up in funny way in your own theme.

I realized it's really hard to explain this in words, when I have some time I might do some video demonstration on this, I just wonder if anyone will be interested to see it? Please raise your hand if you do, that will help me determine if it will worth the effort :)

hand raised

cnphause - May 1, 2008 - 22:29

My hand is up!

Screencast

joehenriod - May 2, 2008 - 02:38

If you put a donate button on your homepage and do a screencast I will send ten dollars.

This is one of the best looking drupal sites I have seen.

I am a big fan of Zen, but I would love to know how to theme from scratch also.

absolutely!

socialtalker - May 2, 2008 - 04:57

please do!

I would absolutely view and

webdev2 - May 6, 2008 - 19:55

I would absolutely view and recommend that video-cast - many thanks in advance. And many thanks for your time in composing the above post!

Kudos!

evilgenius - May 7, 2008 - 07:12

Kudos on the theme! How long did it take you to create that theme?

Being a newbie and all I would really like to see your demonstration so count me in.

 
 

Drupal is a registered trademark of Dries Buytaert.