Free Hosting

Web hosting

Monday, May 2, 2016

Create a Drop Down Menu In Blogger

A drop down menu is needed when you have too much content on your blog or you love keeping things organized. To add a drop down menu to your blogger blogs do this:
Go To Blogger > Design > Page Elements
Select a HTML/JavaScript Widget just under the header and paste the following code inside it,
drop down menu

<div id='mbtnavbar'> 
      <ul id='mbtnav'> 
        <li> 
          <a href='#'>Home</a> 
        </li> 
        <li> 
          <a href='#'>About</a> 
       </li> 
        <li> 
          <a href='#'>Contact</a> 
        </li> 
  <li> 
           <a href='#'>Sitemap</a>
            <ul> 
                <li><a href='#'>Sub Page #1</a></li> 
                <li><a href='#'>Sub Page #2</a></li> 
                <li><a href='#'>Sub Page #3</a></li> 
              </ul> 
        </li>
      </ul> 
    </div>
Replace # with your Page Links and the bolded text with relevant page names. The yellow highlighted code is responsible for the drop down menu. You can copy and paste it under any tab you want just before </li>
To add another tab just paste this code above </ul>
<li> 
          <a href='#'>Tab Name</a> 
        </li> 
 3.   Now Go to Design > Edit HTML
 4.   Backup your template and search for ,
       ]]></b:skin>
     3.   Just above it paste the code below,

/*----- MBT Drop Down Menu ----*/

#mbtnavbar {
 
    background:
 #060505; 
    width: 960px;
 
    color: #FFF;
 
        margin: 0px;
 
        padding: 0;
 
        position: relative;
 
        border-top:0px solid #960100;
 
        height:35px;
}

#mbtnav {
 
    margin: 0;
 
    padding: 0;
 
}
 
#mbtnav ul {
 
    float: left;
 
    list-style: none;
 
    margin: 0;
 
    padding: 0;
 
}
 
#mbtnav li {
 
    list-style: none;
 
    margin: 0;
 
    padding: 0;
 
        border-left:1px solid
 #333; 
        border-right:1px solid
 #333; 
        height:35px;
 
}
 
#mbtnav li a, #mbtnav li a:link, #mbtnav li a:visited {
 
    color:
 #FFF; 
    display: block;
 
  
 font:normal 12px Helvetica, sans-serif;    margin: 0; 
    padding: 9px 12px 10px 12px;
 
        text-decoration: none;
 
       
 
}
 
#mbtnav li a:hover, #mbtnav li a:active {
 
    background:
 #BF0100; 
    color:
 #FFF; 
    display: block;
 
    text-decoration: none;
 
        margin: 0;
 
    padding: 9px 12px 10px 12px;
 
       
 
   
 
       
 
}
#mbtnav li {
 
    float: left;
 
    padding: 0;
 
}
 
#mbtnav li ul {
 
    z-index: 9999;
 
    position: absolute;
 
    left: -999em;
 
    height: auto;
 
    width: 160px;
 
    margin: 0;
 
    padding: 0;
 
}
 
#mbtnav li ul a {
 
    width: 140px;
 
}
 
#mbtnav li ul ul {
 
    margin: -25px 0 0 161px;
 
}
 
#mbtnav li:hover ul ul, #mbtnav li:hover ul ul ul, #mbtnav li.sfhover ul ul, #mbtnav li.sfhover ul ul ul {
 
    left: -999em;
 
}
 
#mbtnav li:hover ul, #mbtnav li li:hover ul, #mbtnav li li li:hover ul, #mbtnav li.sfhover ul, #mbtnav li li.sfhover ul, #mbtnav li li li.sfhover ul {
 
    left: auto;
 
}
 
#mbtnav li:hover, #mbtnav li.sfhover {
 
    position: static;
 
}
#mbtnav li li a, #mbtnav li li a:link, #mbtnav li li a:visited {
 
    background:
 #BF0100; 
    width: 120px;
 
    color:
 #FFF; 
    display: block;
 
   
 font:normal 12px Helvetica, sans-serif; 
    margin: 0;
 
    padding: 9px 12px 10px 12px;
 
        text-decoration: none;
 
z-index:9999;
 
border-bottom:1px dotted #333;
   
 
}
 
#mbtnav li li a:hover, #mbtnavli li a:active {
 
    background:
 #060505; 
    color:
 #FFF; 
    display: block;
     margin: 0; 
    padding: 9px 12px 10px 12px;
 
        text-decoration: none;
 
}

Tuesday, April 26, 2016

Upgrade Google Adsense Hosted account to Non Hosted account

Sometimes people start their blogging journey by blogger,youtube etc in that time the AdSense account they are linked called hosted account.More about Adsense hosted & non-hosted account difference.In future when they know about WordPress they just love it &  start blogging simpler with WordPress.
Now they want to show ads on their website but in Adsense, there is a restriction to use multiple accounts.You can use only one Adsense account,then you can convert your Adsense hosted account to non-hosted account.Google  needs to see ad code on your new website.
Adsense Account Types
There are three types of AdSense account
1.Hosted Account:This account is used on blogger & youtube only.
2.NonHosted Account:Shown ads on any type of own domain.
3.Business Adsense Account :For webmaster & the website with huge traffic.
Before apply Adsense  check reminder note
Steps To Follow
Log in to your AdSense account on the right side red colour you find Hosted account.

Click on setting options gear icon.
adsense host to non host 2











 In access & authorization section you find site information.
adsense host to non host 3











In I will show ads on section you can add your own domain URL & submit,such as http://www.domainname.com 
adsense host to non host 4








Now click on My ads then create an ad unit.Name & customize ad unit.Check and View the details about the settings done.Click on Save option and get the code.
adsense host to non host 5


















Now place the code on your new website & continue.
Note:Adsense will review your request & approved or reject depend on your website quality traffic performance etc,its takes some days or some week.After that, you will receive an email of approval or disapproval.Don’t worry in case if it is rejected  you can use existing Adsense hosted account.