Tuesday, May 31, 2016

How to Add a Google Map to your Website / Blog with Simple HTML Only

Blogging is one of the simple, easy & an interesting way to share your ideas, technology, tricks, tips & information with the world. Blogger.com provides free blogs & templates. Now you can easily make your free blog with the help of blogger. There are millions of people who are writing blogs & are also liked by the readers. This blog - Wide Info Blog provides blogger tips, tricks & tutorials. Previously we have discussed -  "How to Disable Comments from all Posts & Pages in Blogger" .
 Now, In this article we will discuss - How to Add a Google Map to your Website / Blog with Simple HTML Only. Now, 
Steps for Adding Google Maps to your Website / Blog:
Step - 1. Login into your blogger account & select the blog to which you want to add google map. Generally map is added to pages, but you can also add to posts.
Step - 2. Now go to your page to which you want to add google map & click "HTML" tab. Now Copy & paste the below code & publish your page - as shown in the screenshot given below.

Code : 

<!DOCTYPE html>
<html>
<head>
<script src="http://maps.googleapis.com/maps/api/js">
</script>

<script>
var myCenter=new google.maps.LatLng(28.613939,77.209021);

function initialize()
{
var mapProp = {
  center: myCenter,
  zoom:10,
  mapTypeId: google.maps.MapTypeId.ROADMAP
  };

var map = new google.maps.Map(document.getElementById("googleMap"),mapProp);

var marker = new google.maps.Marker({
  position: myCenter,
  title:'Click to zoom'
  });

marker.setMap(map);

// Zoom to 9 when clicking on marker
google.maps.event.addListener(marker,'click',function() {
  map.setZoom(9);
  map.setCenter(marker.getPosition());
  });
}
google.maps.event.addDomListener(window, 'load', initialize);
</script>
</head>

<body>
<div id="googleMap" style="width:500px;height:380px;"></div>

</body>
</html>


Note : you can customize this google map according to your requirements.

1. Change the latitude & longitude according to your location by replacing "LatLng(28.613939,77.209021)". Find your latitude, longitude Click Here
2. Change zoom level. Find "zoom:10," in above code & change according to requirement.
3. Change MAP Type. Find "MapTypeId.ROADMAP" default is "ROADMAP" but you can change this too 
  • SATELLITE (photographic map)
  • HYBRID (photographic map + roads and city names)
  • TERRAIN (map with mountains, rivers, etc.)
4. Change width & height. Find "width:500px;height:380px;" & change these parameters according to requirements.
Read More »

Saturday, May 21, 2016

How to Disable Comments from all Posts & Pages in Blogger

Blogging is one of the simple, easy & an interesting way to share your ideas, technology, tricks, tips & information with the world. Blogger.com provides free blogs & templates. Now you can easily make your free blog with the help of blogger. There are millions of people who are writing blogs & are also liked by the readers. This blog - Wide Info Blog provides blogger tips, tricks & tutorials. Previously we have discussedHow to Add Simple Floating Drop Down Menu in Blogger with HTML & CSS.
 Now In  this article we will discuss about - How to Add Simple Floating Drop Down Menu in Blogger with HTML & CSS. 
Now  the Steps - How to Disable Comments in Blogger:
Step - 1. Login into your blog & select the blog in which you want to disable comments.


Step - 2.  Go to "Posts, comments and sharing" Under "Settings" Tab. like Settings  ›  Posts, comments and sharing.

Step - 3. Click on the Comment Location settings & Select "Hide". Now Save your settings & you are done. This complete procedure can be shown in the screenshot given below.
Click On the Image to enlarge. This Method Completely hide your all Comments & Comment Section from your blogger posts & pages. 

Any Question ???. Ask in the Comments. Keep Visiting & Sharing with your friends. For Latest Blogs Visit - Wide Info Blog.

Most Popular Blogs - 
  1. How to Add a Simple Contact Form in Blogger.
  2. How to Add Simple Floating Drop Down Menu in Blogger with HTML & CSS.
Read More »

Sunday, May 15, 2016

How to Add Simple Floating Drop Down Menu in Blogger with HTML & CSS

Blogging is one of the simple, easy & an interesting way to share your ideas, technology, tricks, tips & information with the world. Blogger.com provides free blogs & templates. Now you can easily make your free blog with the help of blogger. There are millions of people who are writing blogs & are also liked by the readers.This blog - Wide Info Blog provides blogger tips, tricks & tutorials. Previously we have discussed about AdSense Code Converter.
   Now, In this article we will learn - How to Add Simple Floating Drop Down Menu in Blogger with HTML & CSS. Here are the steps for this: 
Step - 1. Login into your blogger account & select the blog into which you want to add a floating Drop Down Menu.

Step - 2. Now Go to Layout Section & click to add "Add a Gadget" tab. Now Click on the "HTML / JavaScript" widget to add.

Step - 3. Now copy the code given below & paste into the HTML / JavaScript widget >> "Click Save" & you are done.

Code :

<style>#sbfixed {position:fixed;top:-10px;left:0;width:100%;height:25px;z-index:999;}#sbfixedinner{text-

align:center;background:transparent;height:25px;position:relative;z-index:999;}* html, * html body{overflow-y:hidden;height:100%;}* html #sbfixedinner

{margin-right:-113px;voice-family: ""}""; voice-family:inherit; }* html #sbfixedinner{margin-right:2px;}* html #sbfixed {position:absolute;}#sbtop-wrapper

{background:black;width:100%;float:left;margin:0 auto;padding:0 auto;-moz-box-shadow:0 3px 3px 3px rgba(0,0,0,0.4);-webkit-box-shadow:0 3px 3px 3px rgba

(0,0,0,0.4);border-bottom:1px solid #444;border-top:3px solid rgb(72, 161, 250);}#sbtopbar{width:1050px;height:15px;margin:0 auto}#sbtop{width:100%}

#sbtop,#sbtop ul{list-style:none;font-family:Arial, serif;margin:0;padding:0}#sbtop a{display:block;text-decoration:none;font:bold 15px Arial;text-

transform:none;color:white;border-right:1px solid #FFFFFF;border-left:1px solid #FFFFFF;padding:7px 7px 7px}#sbtop a.arrow{background-image:url

(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwYuXlztSJQGPH0FM5BLjOS-jih-PXPrYO52VLGNgdfIZqTWJI5kyR2azn_cehm_gqBhwc3AH91xwxmhLeGXoV7q6RIwZCRJepRHzPMRWcLK3_6v53DmnvglXKstVSl4buyPT0yD29vTA/s1600/arrow_white.gif);background-repeat:no-repeat;background-position:right 

center;padding:7px 7px 7px 2px}#sbtop li{float:left;position:static;width:auto}#sbtop li ul,#sbtop ul li{width:170px}#sbtop ul li a{text-

align:left;color:#0000FF;font-size:12px;font-weight:400;text-transform:none;font-family:Arial;border:none;padding:5px 2px}#sbtop li ul{z-

index:100;position:absolute;display:none;background:#222;padding-bottom:0px;-moz-box-shadow:0 2px 2px rgba(0,0,0,0.4);-webkit-box-shadow:0 2px 2px rgba

(0,0,0,0.4)}#sbtop li:hover a,#sbtop a:active,#sbtop a:focus,#sbtop li.hvr a{background-color:#222;color:#fff}#sbtop li:hover ul,#sbtop li.hvr ul

{display:block}#sbtop li:hover ul a,#sbtop li.hvr ul a{color:#edfdfd;background-color:transparent;text-decoration:none}#sbtop li ul li.hr{border-bottom:0px 

solid #333;border-top:1px solid #000;display:block;font-size:1px;height:0;line-height:0;margin:0px 0}#sbtop ul a:hover{background-color:rgb(72, 161, 250)!

important;color:#fff!important;text-decoration:none}#sbtop a span,#sbtop a.arrow span{font:bold 12px Arial;color:#888;display:block;line-height:12px;text-

transform:uppercase;text-shadow: 1px 2px 2px #000}#sbtop li:hover a span,#sbtop li:hover a.arrow span{color:#f1c822}</style>
<div id="sbfixed"><div id="sbfixedinner"><div id="sbtop-wrapper"><div id="sbtopbar">
<ul id="sbtop">
<li><a href='#'>Home Page</a></li>
<li><a href='#'>DropDown 1</a>
<ul>
<li><a href='#'>DropDown 1.1</a></li>
<li><a href='#'>DropDown 1.2</a></li></ul></li>
<li><a href='#'>DropDown 2</a></li>
<li><a href='#'>DropDown 3</a></li>
<li><a href='#'>DropDown 4</a>
<ul>
<li><a href='#'>c</a></li>
<li><a href='#'>DropDown 4.2</a></li>
<li><a href='#'>DropDown 4.3</a></li>
<li><a href='#'>DropDown 4.4</a></li>
<li><a href='#'>DropDown 4.5</a></li>
</ul>
</li>
<li><a href='#'>DropDown 5</a></li>
<li><a href='#'>DropDown 6</a></li>
<li><a href='#'>DropDown 7</a></li>
<li><a href='#'>DropDown 8</a></li>
<li><a href='#'>DropDown 9</a></li>

</ul></div></div></div></div>

Now you can visit you blog. You will see a Floating Drop Down Menu bar on the top. You can customize this drop Down menu as shown below:
  1. Replace # with your page or label links.
  2. Replace DropDown 1 by the text you want to display.
  3. Replace DropDown 1.1 by Menu Text you want to Add in Drop Down.
Keep Learning & sharing with your friends. Any Question ???. Ask in the Comments. For latest blogs, visit - Wide Info blog
Read More »

Sunday, May 8, 2016

How to backup Blogger posts & Restore from Backup - Part 1

Blogging is one of the simple, easy & an interesting way to share your ideas, technology, tricks, tips & information with the world. Blogger.com provides free blogs & templates. Now you can easily make your free blog with the help of blogger. There are millions of people who are writing blogs & are also liked by the readers. This blog - Wide Info Blog provides blogger tips, tricks & tutorials. Previously we have discussed about AdSense Code ConverterNow, In this article we are discussing - 
How to backup Blogger posts & Restore from Backup. Blogger posts are the most important part of the blog. So, Backup of the posts is very important. With the help of this backup you can also transfer your blog posts to another blog. Here are the steps for this tutorial.
Steps for taking backup of blogger posts :

Step - 1. Login into your blogger account & select the blog whose backup is to be taken. Now click on the "Settings" tab under "more options" as shown below.
Step - 2. Under "Settings" click on the "Other" tab & as shown below.
Step - 3. After opening "Other" tab, click on the "Back up Content" tab under Import & back up section. Now a small popup box will appear. 
Step - 4. Now click on the option "Save to your computer" & the backup will be stored on your computer as an XML file you can keep this XML file safe for future use & if you want to transfer your blog posts to another blog then you can just upload the backup.
For latest blogger tips. tricks & tutorials, visit Wide Info Blog. The next Part - How to backup Blogger posts & Restore from Backup - Part 2. will be published soon. keep learning & sharing. Any question ??????? Ask in the Comments.
Read More »

Tuesday, May 3, 2016

AdSense Code Converter for Blogger - By Wide Info Blog

AdSense Code Converter is a tool for converting AdSense code ready to be inserted directly into your XML Blogger template. This tool automatically converts JavaScript ad code into the correct format so you can directly use it into blogger template.  It's a perfect converter for converting AdSense, AdBrite, Chitika & many more JavaScript ad codes.

This converter is only used when we want to add AdSense code inside xml blogger template. Otherwise, we can directly add AdSense code by adding a widget in the layout section. Now Paste your AdSense code or HTML code in the empty box given above &  click convert. You will get your converted code easily, copy & paste it into your XML template.
Read More »

Sunday, May 1, 2016

How To Display Post Title Only On Blogger Home Page & Label Pages

This is the first article in the Category "Style Blogger". In Blogger we see the full post on the Home Page, Widget Pages & all other pages as Default settings of Blogger. This type of look is quite Odd & makes the blog length very long if we display 4 to 5 posts per page only. Look wise it is also odd & users usually don't prefer to read the blogs having very long post summary or we can say full post summary for every post on Home Page & all other pages. Previously Added Blog ---   How to Add a Simple Contact Form in Blogger. Now the Steps for Displaying Only post title in the blogger Home Page & All Other pages.

Steps for Displaying Post Title Only On Blogger Home Page & Widget Pages:


Step - 1. Log in into your Blogger account. & Select the blog to which you want to apply the changes.


Step - 2. Now Click on the "More Options" Tab & Under this click on the "Template" tab.



Step - 3. Now Click On the "Edit HTML" Tab as shown below.
Step - 4. Now find </head> using Ctrl+F5 & Put the following code above / before </head>.
Code :

<style type='text/css'>
<b:if cond='data:blog.pageType != &quot;static_page&quot;'>
<b:if cond='data:blog.pageType != &quot;item&quot;'>

.post {
margin:.5em 0 0;
border-bottom:0px dotted $bordercolor;
height:auto;
}
.post h3 {
margin:0 0;
text-align:justify;
font-size:18px;
font-weight:bold;
line-height:1.4em;
color:#0053F9;
}

.post h3 a, .post h3 a:visited, .post h3 strong {
display:block;
text-decoration:none;
color:darkblue;
font-weight:bold;
}

.post h3 strong, .post h3 a:hover {color:#333333; text-decoration:underline;}

.post-body {display:none;}
.post-footer {display:none;}
.comment-link {display:none;}
.post img {display:none;}
.post blockquote {display:none;}
.post blockquote p {display:none;}
h2.date-header {display:none;}
.post-labels {display:none;}
.post-rating {display:none;}

</b:if>
</b:if>
</style>

Now Save your template & Open your blog. You will have a new look as shown below
Now you can customize your post title by changing font-size:18px; & Color By color:darkblue;  & Font Weight By font-weight:bold; .
Friends Keep learning & sharing. If you have any problem please leave a comment. Visit Wide Info blog for latest blogs.
Read More »