Jul 09

Designing a CSS based template - part III

2004 at 12.33 pm posted by Veerle Pieters

Finally we’re off for the third part of our CSS tutorial. Lesson 1, 2 are still available on my blog for those who haven’t been following from the beginning. This will be our last design part, after this it will be “slice and dice” time and the beginning of the XHTML and CSS conversion. Here are some details of the final result:

click to view final template design

I chose for the pink green buttons, maybe a bit girly I know but I like the combination of the prink with the green.

Today we will create the entire template design. You'll get some tips and advice on how to create a header background, how add a finishing touch like ornaments, and a few resources on where to find those special Dingbats or ornamental fonts.

Creating the header background

my color schemeIn part I and II we created our buttons and chose our colors. Now it's time to look for a picture that contains the colors of your preferred color pallet to create the header background. If you look at my color pallet you see that we have green and pink. I decide to use only the very flashy fluorescent pink for the little accents (like the bullets in the navigation) and a darker cherry for my banner combined with pink and a little green accent in our icon.

When looking in my iPhoto collection I came across this picture (taken at Ibiza btw). Since the red of the flower is a bit too red I changed it to a more suitable pinkish color. I used Adjustments >Hue/Saturation (control + u Win, command + u for Mac), chose "Reds" (to change only the red color in my picture) from the Edit popup menu and set the Hue to +24.

original picture

Next step is choosing a nice detail that contains some suitable colors that might create an interesting effect. This will all become clear in the next step when we will be adding our filter effect. Creating this special background header will ask some creativity and it will need some experimenting until you get what you like. This is the part of the picture I think could be nice experimenting with.

flower detail to start from

The picture is of course reduced here, I started from a bigger image (1600x1200px). I added one of my favorites filters on it Filter > Artistic > Paint Daubs. In Photoshop CS it's really fun playing around with the Artistic filters since you not only get to see a live preview of the result, you also have an overview of all the possible effects shown by little thumbnail image. This makes it easy to play around until you have the effect you want. Here is my result:

flower with Paint Daubs effect

This image is blended into my cherry colored background. As finishing touch I drew some lines (paths) using the Pen tool. I command (Mac)/control (Win) clicked the layer and used the Brush tool to color the border of my selection pink and I faded it a bit by using an Opacity of 30 for that layer. Then I duplicated this layer, flipped it a bit, rotated it etc. then again duplicate it etc.

Download a QuickTime movie to see how this is done.

I added a little ornament on the right (created with the font Tamuz). We will get back on the ornaments later on, but this is the result so far:

header background

The title of our blog template

The title of your blog is something personal and I kind of like it when it has a little icon or logo. After all you want you blog to be something special, something recognizable, something you can associate yourself with etc. For this tutorial I chose a cactus, but to be honest further then the fact that I love cactuses it has little extra meaning. But my choice is also because this little icon suits perfectly in the design and the color scheme I chose. And finally, the font I used for my title is Bon Guia. Here is the final header:

the final header

Some links to get you started:

The final result

Further from the header and the buttons we haven't got any big challenges to solve. Let's implement all this together in one page and see what the final result is. The final touches are of course as important as the rest so don't forget to add a little icon or ornament. In my template I used a green Minion Ornament next to the title and I created little exit link icons for my favorite links. This doesn't look bad, hope yours look even better at the end and hopefully you had some fun creating it! Don't hesitate to sent us a url to share the result ;-)

Go to the next part of this tutorial.

Want to learn more?

VECTORTUTS+ Vector Tutorials and More A good and not expensive source to learn more about Illustrator, Photoshop, or web design is by joining the Tuts+ sites. You get access to the source files for just $9 a month. So your ONE membership gives you access to members-only content for ALL the Plus sites. I've written a tutorial for the Vector Tuts section.


30served

gravatar

1

permalink this comment alexandra Fri Jul 9, 2004 at 01.51 pm

Thank you for the great tutorial. I just discovered your site yesterday and I am thoroughly enjoying it!


gravatar

2

permalink this comment tangognat Fri Jul 9, 2004 at 04.42 pm

Really interesting tutorial, I hope to put some of what you outlined here to work in the future . Thanks!


gravatar

3

permalink this comment Roger Sat Jul 10, 2004 at 01.20 pm

Stunning Veerle ! :-)


gravatar

4

permalink this comment Chris Boulton Mon Jul 12, 2004 at 07.13 am

Simply amazing Veerle!

A very impressive design, and tutorial! :-)


gravatar

5

permalink this comment GaBuBu Tue Jul 13, 2004 at 07.40 am

Amazing, veerle! I will marry you! thanks a lot! xD


gravatar

6

permalink this comment Marcel Wed Jul 14, 2004 at 05.25 am

That turned out to be a really nice template Veerle! Great work, and thanks for the tips.

btw, some more nice free fonts can be found here at this weblog: http://www.robotjohnny.com
And also here: http://www.dafont.com/en/


gravatar

7

permalink this comment Veerle Wed Jul 14, 2004 at 08.08 am

I’m glad you like my tutorial so far, hope you all get inspired. Don’t forget to show me your work, I’m curious ;-)

@Marcel, thanks for the links! Great!


gravatar

8

permalink this comment Sylvain Wed Jul 14, 2004 at 03.06 pm

Hi Verlee. I discovered your great site today (link from the CSS Vault. Thanks a lot for this tutorial.

Could you please be more precise on how you made the curved lines with the pen tool and the brush tool ? Thanks !


gravatar

9

permalink this comment Gnuus Thu Jul 15, 2004 at 02.41 am

Very nice indeed (for a girl::grin)


gravatar

10

permalink this comment Fabian Thu Jul 15, 2004 at 07.30 am

It rocks Veerle, thanks. Very useful for a crappy visual designer as me, I’ve learned a lot :-) Whoehoew!

Time for me to appreciate Photoshop a little bit more than to curse it because I can’t handle the features ... Tss.


gravatar

11

permalink this comment Veerle Fri Jul 16, 2004 at 08.41 am

@Sylvain, I just added a QuickTime movie to my article to show you how I created the “whooshes” (or how do you call this in English?). You can download this here if you want.


gravatar

12

permalink this comment Michael Sun Jul 18, 2004 at 06.50 pm

Very useful tutorial. You often get stuck doing the same stuff all over again with your websites so it’s always nice to get some fresh ideas.


gravatar

13

permalink this comment Michael Sun Jul 18, 2004 at 06.52 pm

Note: When I say “you” I’m speaking about people in general, not “you” =)


gravatar

14

permalink this comment Heinz Tue Jul 20, 2004 at 01.38 pm

I’m not new in CSS, but I have found some useful tips in your tutorial.

I’m not a Photoshop expert, so your Photoshop tips helped me a lot.
Thanks for your great article


gravatar

15

permalink this comment Sylvain Tue Jul 20, 2004 at 03.29 pm

Thank you very much Veerle for the movie you made specially for me. I really appreciate.
Thanks again.


gravatar

16

permalink this comment Nat Fri Jul 23, 2004 at 04.20 pm

I love your work! You are GREAT designer! Your tutorial is real treasure!
THANK YOU!:)


gravatar

17

permalink this comment jamesms Mon Jul 26, 2004 at 09.42 pm

Don’t know where to I should put this. But I stumbled across an obvious fan of your work.

Suprisingly similar


gravatar

18

permalink this comment raff Wed Jul 28, 2004 at 04.35 pm

Thank you again Veerle! I am a math person and don’t have any real ‘experience’ in design so these tutorials are wonderful. I actually changed the header on my site using the ideas from this. Thanks again!


gravatar

19

permalink this comment tonycorruption Fri Jul 30, 2004 at 10.38 am

Thanks Veerle that was a great tutorial. I especially love your emphasis on detail and experimentation, it sets encouraging goals for your readers. ;-)


gravatar

20

permalink this comment Rohit Fri Jul 30, 2004 at 10.23 pm

Very nice of you to share your ‘secrets’. We don’t get to see much of that these days.

Say, what are the complications for using such a layout on Movable Type? Does it only require editing the css or the ‘main index’ template also? :)


gravatar

21

permalink this comment Rajsamand Tue Aug 3, 2004 at 04.35 am

vERY nice tutorial.


gravatar

22

permalink this comment Kronk Wed Aug 11, 2004 at 03.08 am

“its 1600 pixels wide and 5 pixels high (this should be enough… unless you are the proud owner of an Apple 30 inch Cinema.”
what i wanted to know was what if he does have that big a monitor, how would it look?
another question i had was - i had to manually type the text quoted from your article, i couldnt copy it. It just doesnt allow me to copy the text. is this a problem with this design structure or this a problem with my damn machine?

thanks


gravatar

23

permalink this comment Kronk Wed Aug 11, 2004 at 05.23 am

oops! sorry i forgot to mention the most important thing, thanks, this was a great tutuorial. i have been designing websites for over 4 years using the “tables” method and now i would like to start coding the xhtml and css way. yours is the first tutorial that i found really helpful and everythings mentioned in a good manner.

thanks!


gravatar

24

permalink this comment Veerle Wed Aug 11, 2004 at 06.09 am

Hi Kronk, you can of course decide to make it even wider. But if your browser window is set wider then 1600 pixels you’ll see at the very right and left the background color (#F7F7F6 ) instead of the background pattern, since it will end there.

About the selecting problem, someone else pointed me to this. I guess you are using I.E. 6? It is a problem that only occurs in I.E. 6 (another I.E. bug) and I need to add a javascript to fix this, on the other hand I promote FireFox and I would rather suggest to use that browser. To be honest I have done SO much fixing for I.E. for my blog already, that I just think, “now it’s enough”. Hope you excuse me for this :-S In fact, the real “person” to contact here is Microsoft.

Glad you like the tutorial, pleased to hear you’ll be using CSS/XHTML too ;-)


gravatar

25

permalink this comment Kronk Fri Aug 13, 2004 at 08.11 am

hey, thanks for the quick reply.
yes ure right i use IE 6, wow i had used firefox for sometime when it was ver 0.8. Im a loyalist to IE for the quick loading etc. But from what you say i dont think its going to remain like that for long. I think im going to install firefox right away :-) I have always thought microsoft IE 6 would have the least bugs among all these browsers.
1: can you please tell me a little more on why u prefer to use firefox over IE 6, i know you said that u’ve had it with all the bugs etc but can you tell me some more on these bugs, you can even email it if you want.
another thing is you mentioned that you had a lotta fixes to even your own blow with IE 6, what are these javascript fixes? is it done in such a way that the browser doesnt recognise that bug anymore or is it that it bypasses that error?
2: you mentioned that after 1600 pixels it will show #F7F7F6, the only way we can fix this is to have a image much larger right? is there another way?
3: in this tutorial you have used a 1600 wide image as the bg. is this the only way you can create the bg writing the code without tables? remember how it was written earlier? if it was written in the old manner this bg would have been broken down into many parts. the body would have had the main bg, the text area would have their individual bg’s either by using an image tile or bgcolor.
4: what if its a vertical bg with a gradient?
5: what do you do, add the styles to your html doc or have an external .css attached to your html document? is there a difference?

thanks.


gravatar

26

permalink this comment Veerle Mon Aug 16, 2004 at 01.43 am

The comment/questions above will be answered soon on my site in a Q&A article that I will post, since this is interesting to share and it will help a lot of people.


gravatar

27

permalink this comment rajsamand Sun Nov 14, 2004 at 04.19 am

hi ,
I have seedn the site it is very imformative and important for every pewrson ,

site have good matter who covers diffrent topics


bye


gravatar

28

permalink this comment paul Wed Dec 29, 2004 at 08.47 am

It’s a great tutorial.I looked all over the net for same css tut, but this is the best!


gravatar

29

permalink this comment Danny Wed Feb 2, 2005 at 01.51 pm

I just surfed to your site a few days back.. and wow. I am VERY impressed. Very nice design you have, and great content!
Thanks, your articles and graphic work ahs inspired me.


gravatar

30

permalink this comment trevor Mon Oct 24, 2005 at 12.30 pm

hi there - i’m sorry to post such an apparently ridiculous question, but i’m brand new so what the heck:

- i don’t see where there is a drop shadow on the background at all.  in the very first few comments there is talk about why you used such a technique to allow for the drop shadow, but either i am insane or something, where is the shadow - please!!??

- and thanks



Commenting is not available on this article.

Flickrness

buy something from my Amazon wishlist