How I made an awesome blogger template from scratch?

by Tamal Anwar on February 14, 2009

How I made an awesome blogger template from scratch? 1

Have you seen my first blog The blog about success? This is my first blog and it’s still on blogger(blogspot) platform. The template is the basic Minima template from blogger and I customized it to look more professional. Blogger templates are cool and fast loading when you make some modifications with it. Most of the time we bloggers look for free blogger(wordpress looking) templates. These are cool but complicated.

I used a wordpress template when BlogKori was in blogspot platform. The template was complicated for google search bots to crawl and that’s why google had only 3 pages indexed from my blog and the homepage was not in their index!

This is why I recommend blogger(blogspot) users not to use complicated wordpress like templates. Now let’s see how we can create a professional looking blogger template from scratch.

Getting started

Lets start with the basic Minima template. Create another test blog from your account and make all of those experiments inside that blog.

mak2

Removing the blogger navigation bar

This is one element why we don’t like to use default themes. You can remove the blogger navigation bar. Go to blogger dashboard > Layout > Edit HTML. Now search this code,

]]></b:skin>

Now add this code before/above the code,

#navbar-iframe {height:0px;visibility:hidden;display:none}

So the results will look like this. Save template.

#navbar-iframe {height:0px;visibility:hidden;display:none}
]]></b:skin>

Header image

Now if you upload an image as the blog’s header, it will look messy because of those borders. Now we have to remove those borders.

mak3

Again go to your blog’s HTML and search this part,

mak4

Now if you want to change the width of your blog’s header image, then change the value. Change two of the values of margins from 1px to 0px. This will remove those borders.

Top navigation links

I’ve added extra navigation links like Home, About, Popular articles etc.

mak7

If you want to do this, then go to Layout and “add a new widget“; select “HTML/Java script

mak5

and then add the following,

<p>
<a href="http://the-address.com">Link 1</a> |
<a href="http://the-address.com">Link 2</a> |
<a href="http://the-address.com">Link 3</a> |
<a href="http://the-address.com">Link 4</a> |
<a href="http://the-address.com">Link 5</a> |
</p>

Replace those green parts into links and the red parts into your desired link texts. Drag the element below to the header, save the template.

mak6

Making the template wide

Minima template is about 660 pixel wide. You can change the value and make it wider. Again go to your blog’s HTML and select “Expand Widget Templates” Now search this part of your HTML,

mak10

I’ve selected the value of outer wrapper from 660px to 860px. Main wrapper is for the posts, and I selected 500px; I selected 300px for the sidebar wrapper.

Scroll down a bit more and you’ll find the footer section. Now change the value of the footer width to 860px. Save the template.

mak11

Adding a favicon

Search for this code in your blogger HTML,

]]></b:skin>

Now add this code (change the green part into the URL where the favicon is hosted)

<link href='ICON-SOURCE' rel='shortcut icon'/>

After that the code will look like this,

]]></b:skin>
<link href='ICON-SOURCE' rel='shortcut icon'/>

Adding search bar in the template

mak8

There are ways to add a search bar into your template but I found the lijit service easier and most effective. Go to lijit.com and sign up for your free account. Create a search bar widget with your blog’s address and with your social profiles. Get the code and add it to your search bar.

mak9

That’s it!

Now you have a fully customized new blogger template. Download the template and upload it to your favorite blog. You can do more modifications if you just spend some time with the code. If you need a custom comments system then you can read this: How to install Disqus comments system on your blog?

Please feel free to ask me a question if you run into any trouble. Please promote this page by using the Share/save button.

You may also read:

Comments

comments

{ 41 comments… read them below or add one }

issa February 14, 2009 at 2:34 pm

excellent tutorial! =) i used minima myself when i started my personal blog then i changed it to xmas theme. now im gonna change back to minima using this tutorial =) thanks again!

issa’s latest blog post..Aphrodisiacs for Valentines Day ;-)

Reply

Tamal Anwar July 3, 2009 at 1:18 am

Best of luck for that Issa! Send me the page when finished, I’ll have a look on that.

Reply

@krjx February 15, 2009 at 1:04 pm

Informative post. Would like to see one to make and edit basic wordpress templates.

@krjx’s latest blog post..Hot Chocolate

Reply

Tamal Anwar February 15, 2009 at 6:50 pm

@issa: Thanks and I hope you’ll learn new things on HTMl while messing up with the codes.

@krjx: Ya I started to mess up with wordpress PHP themes, and in the future I’ll write about wordpress themes also -stay tuned!

Reply

Geoserv February 16, 2009 at 5:08 pm

Very nice Tamal, I haven’t used Blogger before, thanks for the post.

Template looks nice and clean.

Geoserv’s latest blog post..New upcoming Pligg template

Reply

Chinese Girl February 16, 2009 at 11:18 pm

Thanks for the nice tutorial, I was planing to seriously start a blogger account but discouraged with the number of similar templates running all over the net, I like to be different.

Chinese Girl’s latest blog post..Wuyi Ramada Hotel

Reply

Aminul Islam Sajib February 20, 2009 at 12:48 pm

Another great and helpful post. Thanks.

Aminul Islam Sajib’s latest blog post..Wanna write on Foreign News Agency

Reply

Tom February 22, 2009 at 3:15 pm

Thanks! I searched hi and lo for this info!

Reply

BloggerTinker March 11, 2009 at 10:31 pm

Can I add my collections?^_^

Top 10 Best-Clean-Professional-Looking Blogger Templates

Thanks! ^_^

BloggerTinker’s latest blog post..Top 10 Best-Clean-Professional-Looking Blogger Templates

Reply

issa April 7, 2009 at 1:15 pm

hey tamal! finally finished messing up with the codes — check my renovated personal blog here: http://melissasolito.blogspot.com =)

most of the basic changes I made were done thru this tutorial. thanks so much! ^_^

issa’s latest blog post..wanna win $20?

Reply

Tamal Anwar April 7, 2009 at 4:43 pm

@issa, Your template looks great and why not, it’s your own creation! You might take your sidebar into right hand side of the template and everything else is fine!

Reply

Mr. I April 7, 2009 at 6:57 pm

Nice tutorial. Wished it had been around when I was on blogspot!

Reply

Tamal Anwar April 8, 2009 at 12:25 am

@Mr. I, It’s never too late, you can still create a personal blog with blogspot and make your own custom theme.

Reply

Leave a Comment

Previous post:

Next post: