high paying google adsense keywords 2016

Make a floating Google Ads display at bottom of mobile screen

Google Ads is a source of revenue and if we put it in a right way, it can bring you more money. So, in this post I am going to show how you can put the floating Google Ads on your mobile website.

First you need to have a google adsense account and from where you can get a google adsense script (I might post about this later in my blog if you don’t have detail idea about what is google adsense is).

Now you need to define a media query and define the following code in your CSS file:

@media only screen and (min-width: 310px) and (max-width:500px) {
#adfooter 
       {
          position: fixed;
          left:0;
          bottom: 0px;
          text-align:center; 
          width:100%;
          z-index:999;
       }
}

Now, you need to define the reference this CSS script to your DIV, simply copy the following the code and put it in your WordPress template file (or you can put this in header.php or footer.php)

<div id=”adfooter”>
Copy the Google Ads script from google adsense and paste in this section
</div>