Digital Marketing Guides

How to Create Simple Blogger Template Easily?

Google+ Pinterest LinkedIn Tumblr
To create successful blog, it needs to create blogger template more attractive and looks more professional. Even you can buy professional blogger template on the web, you may want to create blogger template by yourself for your blog. Creating a professional blogger template is more challenging task, but if you have some knowledge on HTML, XML, CSS and JavaScript, it is possible to create professional blogger template easily by yourself. In this series of tutorial, I am going to teach you basic to advanced steps to create blogger template. Today I am telling you “steps for creating a simple blogger template” with describing basic elements and along with its corresponding style sheet codes.

Step1: Preparing demo blog for creating blogger template

To test blogger template you have created, at first you need to set up a blogger blog and have to add some posts on the blog. To create a blog, go to blogger home page, log in using your Google user name and password and then click on create a blog link to get started. Write posts for a blog by clicking on create a new post button from the blogger dashboard.

Step2: Creating basic elements for blogger template

Open Notepad file write the codes according to the following format and save it as .xml extension.

# Creating XML Part

At first, add the following codes for  Document Type Deceleration(DTD) on XML part.

<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" " -strict.dtd">
<html expr:dir='data:blog.languageDirection' xmlns='' xmlns:b='' xmlns:data='' xmlns:expr=''>

# Creating Header Part

After that, add the following header elements like head and title of the blog.

<b:if cond='data:blog.pageType == "index"'>
<b:if cond='data:blog.pageType != "error_page"'>
<data:blog.pageName/> | <data:blog.title/>
Page Not Found | <data:blog.title/>

# Creating CSS Part

Add custom css codes for your template in the following format. The css codes must be placed inside <![CDATA[*/ and ]]>


font:normal normal 14px Verdana,Geneva,sans-serif;
color:#000;padding:0 40px 40px 40px;
CSS for outer-wrapper
CSS for header-wrapper
CSS for titlewrapper
CSS for descriptionwrapper
CSS for menuwrapper
CSS for contentwrapper
CSS for mainwrapper

# Creating a Menu 

To create menu for a blog, add the code in the following format. Replace URL and name of the tabs. 

<div id='menuwrapper'>
<ul class='FirstLevel'>
<li><a href='' target='_self'>Home 
<li><a href='' target='_self'>Menu1 
<li><a href='' target='_self'>Menu2 
<li><a href='' target='_self'>Menu3 

# Creating blog content

To add main blog content part, add these codes to create a widget named Blog1.

<div id='outer-wrapper'>
<div id='header-wrapper'>
<b:section class='header' id='header' maxwidgets='1' showaddelement='no'>
  <b:widget id='HTML1' locked='true' title='Header' type='HTML'>
<div id='content-wrapper'>
<div id='main-wrapper'>
<b:section class='main' id='main' showaddelement='no'>
<b:widget id='Blog1' locked='true' title='Blog Posts' type='Blog'>

Step3: Creating gadgets on sidebar and footer.

To create sidebar and footer and to add widgets  for them add these code, which allows you to add widgets on sidebar and footer.

<div id='sidebar-wrapper'>
<b:section class='sidebar' id='sidebar' showaddelement='yes'>

<div id='footer-wrapper'>
<b:section class='footer' id='footer' showaddelement='yes'>

Step4: Installing blogger template on required blog.

After creating a code file on Notepad in XML format, test it on demo blog. To install prepared template, click on backup and restore button from template option on blogger dashboard. Click on download full template, the xml file will be downloaded. Then go to the required blog then go to Template  ›  Backup / Restore option and browse and upload that xml file. The template will be applied on your blog.

Avatar for Shuseel Baral

Shuseel Baral is a web programmer and the founder of InfoTechSite has over 8 years of experience in software development, internet, SEO, blogging and marketing digital products and services is passionate about exceeding your expectations.

Comments are closed.