Today in this tutorial i will tell you how to add Current time into Blogger Template. The time will automatically change when you refresh your page and similarly everyday with new time. This will help your readers and also increase the power of your template.''
The Current time will change according to the visitor's time. for example if a person visits your blog from England or USA then he/she will see his/her own local time.
You can add this time widget anywhere in your Blog
- First Login into your Blogger Account.
- Select your Blog.
- Now Click on template.
- Click on 'Edit HTML/Javascript.
Just before this </html>.
Paste the below code.
<div id='demo'>
<script>
document.getElementById("demo").innerHTML = Date();
</script>
</div>
Thats it Save your template Now move towads Css Part.
Now click on customize option in 'Template' Part.
Click on 'Add Css' Option from the list and add the below code.
#demo {Adjust settings according to your requirement.
position:relative;
bottom:135px;
width:380px;
left:860px;
color:#fff;
Thats it save your template and cheers!
No comments:
Post a Comment