How to Add Bottom Sticky Ads in Blogger - Step-by-Step Guide
Are you looking to incorporate Bottom Sticky Ads into your Blogger platform?
To achieve this, follow the subsequent steps meticulously, and enhance the visual appeal of your Blogger blog. Before we dive into the process, let's first grasp the concept of Sticky Ads and their significance.
What are Sticky Ads?
Sticky Ads are fixed advertisements that remain prominently displayed in a fixed position, unaffected by the user's scrolling within the content. They are typically deployed in areas such as the header, footer, left/right sidebars, and left & right sidebars.
Why Do We Need Sticky Ads?
Sticky Ads serve to strategically position and accentuate your advertisements both inside and outside the layout of your website. With Sticky Ads, you can create anchor ads that remain perpetually visible within the browser window. These ads do not move in sync with the user's scrolling.
How to Add Bottom Sticky Ads in Blogger?
Now, let's delve into the process of adding Bottom Sticky Ads in Blogger:
- Commence by navigating to the Blogger dashboard at Blogger.com.
- Proceed to the Themes Section and click on the "Edit HTML" button.
- Copy and paste the following CSS code into your theme:
/* Sticky Ads */ .sticky-button { position: fixed; bottom: 0; right: 20px; width: 50px; height: 50px; border-radius: 50px; background-color: #fdd929; box-shadow: 0px 4px 12px 0 rgba(9, 32, 76, .05); z-index: 20; overflow: hidden; -webkit-transition: all .2s ease; transition: all .2s ease; opacity: 0; visibility: hidden; } .sticky-button.sticky { bottom: 20px; opacity: 1; visibility: visible; } .sticky-button > * { display: flex; align-items: center; height: 100%; } .sticky-button > * svg { margin: auto; fill: inherit; } .sticky-ad { position: fixed; bottom: 0; left: 0; width: 100%; min-height: 70px; max-height: 200px; padding: 5px 0; box-shadow: 0 -6px 18px 0 rgba(9, 32, 76, .1); -webkit-transition: all .1s ease-in; transition: all .1s ease-in; display: flex; align-items: center; justify-content: center; background-color: #fefefe; z-index: 20; } .sticky-ad .sticky-adClose { width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; border-radius: 12px 0 0; position: absolute; right: 0; top: -30px; background-color: # fefefe; box-shadow: 0 -6px 18px 0 rgba(9, 32, 76, .08); } .sticky-ad .sticky-adClose svg { fill: #767676; } .sticky-ad .sticky-adContent { flex-grow: 1; overflow: hidden; display: block; position: relative; } .sticky-adInput:checked + .sticky-ad { padding: 0; min-height: 0; } .sticky-adInput:checked + .sticky-ad .sticky-adContent { display: none; }
Paste the provided CSS code above the ]]></b:skin>
tag in your Blogger template.
- Copy and paste the following HTML code:
Paste the HTML code above the </body>
tag in your Blogger template.
- Replace the marked sections with your AdSense Publisher ID and AdSense Ad Slot ID.
- Finally, save your changes!
In conclusion, you've now learned how to incorporate Bottom Sticky Ads into your Blogger platform. Feel free to share your thoughts on this article in the comments, as your feedback can be invaluable for us to learn and improve.