Usually a header consist of the company logo but now a days it is used as an important place where people use to put there advertisement.Some of the Blogger templates has this feature.Commonly it is a simple container which can contain 2 widgets at one time one after the other side by side normally it consist of your logo and advertisement or etc.So please but your attention towards this tutorial carefully,don't worry its not very difficult to splitter your header but it needs your little attention because templates are differently coded but the method remains the same
you can see what will going to happen after you successfully applied the code:
To Splite Header in Two Different Parts:
1.Go to blogger.com >> Your Blog >> Design >> Edit Html / Template
2.Backup your template in case some thing went wrong.If you don't know how to backup template simple visit the tutorial how you can backup your template in blogger
3.Uncheck the "Expand the Widget'' if it is checked
4.Search for the following code in the template
#header-wrapper {
width:960px;
margin:0 auto 10px;
border:1px solid $bordercolor;
}#header-inner {
background-position: center;
margin-left: auto;
margin-right: auto;
}#header {
margin: 5px;
border: 1px solid $bordercolor;
text-align: center;
color:$pagetitlecolor;
}#header h1 {
margin:5px 5px 0;
padding:15px 20px .25em;
line-height:1.2em;
text-transform:uppercase;
letter-spacing:.2em;
font: $pagetitlefont;
}#header a {
color:$pagetitlecolor;
text-decoration:none;
}#header a:hover {
color:$pagetitlecolor;
}#header .description {
margin:0 5px 5px;
padding:0 20px 15px;
max-width:700px;
text-transform:uppercase;
letter-spacing:.2em;
line-height: 1.4em;
font: $descriptionfont;
color: $descriptioncolor;
}#header img {
margin-$startSide: auto;
margin-$endSide: auto;
}
Important:Due to different template coding the code above might be different.For example#header might be .header so look for the related code
5.Now after finding the code,replace the entire code with the following code
/*------Header-----*/
#header-wrapper{
width: 960px;
color: #000;
margin: 30px auto 0;
padding: 0px;
overflow: hidden;
}
#header-inner {
background-position: left;
background-repeat: no;
}
.headerleft h1, .headerleft h1 a,.headerleft h1 a:hover,.headerleft h1 a:visited {
color: #BF0100;
font-size: 36px;
font-family: 'Ultra', serif, Arial;
font-weight: bold;
margin: 0;
padding: 0px 0 5px 0;
text-decoration: none;
text-shadow: 6px 6px 4px #ccc;
line-height:1.2em;
}.headerleft h3 {
font-family: arial, tahoma, Sans-Serif;
font-weight: normal;
margin: 0;
padding: 0;
}.headerleft .description {
color: #3B3B3B;
font:bold 12px Helvetica, arial, sans-serif;
margin: 0px;
padding: 0 0 20px 0;
text-shadow: 4px 4px 6px #ccc;
}
.headerleft {
width: 450px;
float: left;
margin: 0;
padding: 0;
height:80px;
}
.headerright {
width: 468px;
height:80px;
float: right;
margin: 0px;
padding:1px 0 0 0;
}
6.After Replacing the code search for the following code,if you could not find the code then look for the similar code which should include div section of your header
<div id='header-wrapper'>
<b:section class='header' id='header' maxwidgets='1' showaddelement='no'>
<b:widget id='Header1' locked='true' title=' My Blogger Lab (Header)' type='Header'/>
</b:section>
Rememeber: the code must contain <b:section and </b:section> tags to make the whole process work
7.After you find the code above or similar code replace the entire code with the following code
<div id='header-wrapper'><b:widget id='Header1' locked='true' title='My Blogger Lab (Header)' type='Header'/>
<div class='headerleft'>
<b:section class='headerleft' id='headerleft' maxwidgets='1' showaddelement='no'>
</b:section>
</div><div class='headerright'>
<b:section class='headerright' id='headerright' maxwidgets='1' showaddelement='yes'>
</b:section>
</div>
8.Now press the Save Now button and to save the whole process and then visit layout page to see the difference
Customizing your header design:
To change the width of you header simply replace 960px;
To Change the colour of the title simply replace #BF0100;
To Change the colour of the header description replace #3B3B3B;
if you need any help feel free to ask,if you follow my instruction as directed above it is piece of cake but if you don't follow what is instructed it might become difficult to over come,any how feel free to ask your question.
0 comments:
Confused? Feel free to ask