Categories: BloggingWordPress

How To Add Fixed Ad Widget on Site’s Footer in Mobile View

Fixed Ad Widget on Site’s Footer

There are various different places on your site/blog where you can put the ad code in WordPress site. Each and every place has its own importance. Some parts of site are much better for more clicks on ads while others are waste less and people don’t click. In my previous post, i wrote about different ad networks including Google Adsense, Chitika, Media ads, Kontera, infolinks etc.

Out of the different ad places on blog, Fixed Ad under the mobile view of site is very much popular. Comparatively others, this ad always has 3 times more click as i also experimented on my site earlier.

Note: Fixed ads are strictly prohibited by google and its against its policy. I am not responsible for anything as you are own responsible.

Also See:

#1. First of all, log-in to the site’s dashboard.

#2. Go to Appearance >> Edit CSS.

#3. Now copy and paste the below code in the bottom and save it.

@media only screen and (min-width: 300px) and (max-width:500px) { #footer {
   position: fixed;
   left: 0;
   bottom: 0;
   height: 50px;
   width: 100%;
   background: #999;
  }
 }
/* IE 6 */ * html #footer {
  position: absolute;
  top: expression((0-(footer.offsetHeight)+(document.documentElement.clientHeight ? document.documentElement.clientHeight : document.body.clientHeight)+(ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop))+'px');
 }

#4. Then move to Appearance >> Editor.

#5. From the right side, open “footer.php” file.

#6. Click Ctrl + F and search for [highlight color=”orange”][/highlight].

#7. Then paste the following code just before the 

GeeksFlame

GeeksFlame is created with one mission in mind - to help you with all walks of life to discover tech-related topics and resources that can help you learn more about technology. Our passionate author covers all the latest trends in artificial intelligence, robotics, machine learning, web development, and search engine optimization. So, keep reading and stay ahead of the curve.

Recent Posts

What Should You Know About Workers Comp In Charlotte When An Injury Stops You From Working

When a work injury suddenly keeps you from earning a paycheck, life can feel uncertain… Read More

January 21, 2026

The Easiest Ways To Save Money On Internet Without Sacrificing Speed

In today’s digital age, having fast and reliable internet is essential for work, entertainment, and… Read More

January 21, 2025

How Much Is International Shipping With Meest?

When picking a shipping partner, price is often the deciding factor. Meest rates for international… Read More

April 14, 2024

How Retail Cloud Solutions Help You Manage IOT Devices?

The retail landscape is undergoing a remarkable transformation, thanks to the integration of IoT devices… Read More

March 21, 2024

Innovations In Sealing Technology: Exploring Modern Seal Check Solutions

In the rapidly evolving world of industrial technology, sealing solutions have undergone significant transformations. Modern… Read More

February 1, 2024

Have You Heard Of Incognito Mode With Google Chrome

In today's fast-paced digital world, knowing how to maintain your privacy while browsing the internet… Read More

December 15, 2023

This website uses cookies.