Title: Sticky Sidebar for Ads and Blocks
Author: Rasel Ahmed
Published: <strong>September 7, 2022</strong>
Last modified: August 26, 2025

---

Search plugins

![](https://ps.w.org/sticky-blocks/assets/banner-772x250.png?rev=2781069)

![](https://ps.w.org/sticky-blocks/assets/icon-256x256.png?rev=2781069)

# Sticky Sidebar for Ads and Blocks

 By [Rasel Ahmed](https://profiles.wordpress.org/wprasel/)

[Download](https://downloads.wordpress.org/plugin/sticky-blocks.1.0.5.zip)

 * [Details](https://wordpress.org/plugins/sticky-blocks/#description)
 * [Reviews](https://wordpress.org/plugins/sticky-blocks/#reviews)
 *  [Installation](https://wordpress.org/plugins/sticky-blocks/#installation)
 * [Development](https://wordpress.org/plugins/sticky-blocks/#developers)

 [Support](https://wordpress.org/support/plugin/sticky-blocks/)

## Description

Make a sticky sidebar or widget or any block you want for any ads or Google adsense
just adding the class or ids from the sticky section. You can add multiple sticky
block within same page or post even any custom post and taxonomy as well.

### Manage Sticky Blocks

In wp dashboard , there is a menu called **“Sticky Blocks & Sticky Ads”** to Add
and Remove a Sticky Block from there.
 You have to put the four different selector
from settings – Container or whole conatiner wrapper class or id – Columns class
or IDs if you have multiple column then select two columns only – Add class or id
from sticky block or section or sidebar section – [b] Please make sure you have 
proper selectors to make the block sticky.

That’s it done! for more support and information you can contact us [Support Here](https://www.webextended.com/contact/)

## Screenshots

 * [[
 * Backend view
 * [[
 * Frontend view

## Installation

 1. Add plugin to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Use Sticky Blocks from settings to set the selectors

## FAQ

### How to use this plugin?

First create a sticky Blocks(Through Sticky Blocks) calling it through selectors.

### How to manage sticky sidebars?

Go here : Dashboard >> Sticky Blocks

### Is it possible to display the sticky sidebars in a page or a template?

Yes, you can add it out anywhere you want! even in custom post type template!

### Is it possible to display multiple sticky sidebars in a page or a template?

Yes you can.

### Is it possible to add some styles to the element but only when it’s sticky?

Yes you can. Just add css as usual you do using class or ids from the sticky block

### My sticky element stops scrolling too early. Why?

A sticky element can only scroll within the boundaries of its direct parent container.
If your sticky element stops, it’s because you’ve reached the bottom of its parent.
To make it scroll longer, you need to ensure the parent container is tall enough
to accommodate the desired scrolling distance. This is a fundamental rule of how
the CSS `position: sticky` property works.

## Reviews

![](https://secure.gravatar.com/avatar/9053f9681b5a0adbaa2fa5a7f6d33818ef2e05a4335a9f53eeca7174f78ca2f9?
s=60&d=retro&r=g)

### 󠀁[Great plugin worked for Google AdSense perfectly!](https://wordpress.org/support/topic/great-worked-for-google-adsense/)󠁿

 [Adam Uzzaal](https://profiles.wordpress.org/uzzal2022/) September 8, 2022

Thank you for the great plugin! It works well for sticky Google AdSense sidebar 
and I can use multiple item as well. Also, it helps me to keep sticky a sidebar &
all important ads banner.

 [ Read all 1 review ](https://wordpress.org/support/plugin/sticky-blocks/reviews/)

## Contributors & Developers

“Sticky Sidebar for Ads and Blocks” is open source software. The following people
have contributed to this plugin.

Contributors

 *   [ Rasel Ahmed ](https://profiles.wordpress.org/wprasel/)

[Translate “Sticky Sidebar for Ads and Blocks” into your language.](https://translate.wordpress.org/projects/wp-plugins/sticky-blocks)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/sticky-blocks/), check
out the [SVN repository](https://plugins.svn.wordpress.org/sticky-blocks/), or subscribe
to the [development log](https://plugins.trac.wordpress.org/log/sticky-blocks/) 
by [RSS](https://plugins.trac.wordpress.org/log/sticky-blocks/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0.5

 * August 26, 2025
 * Enhancement: Moved “Custom CSS” to its own submenu page for a cleaner admin interface.
 * Fix: Corrected a data type mismatch that prevented the “Specific Page ID” display
   option from working.
 * Fix: Implemented a JavaScript solution to ensure nested sticky elements can scroll
   within the full height of the parent column by dynamically adjusting container
   height.

#### 1.0.4

 * August 25, 2025
 * Fix: Custom CSS is now correctly loaded on the frontend.
 * Fix: Resolved issue where `position: sticky` was blocked by parent elements with`
   overflow: hidden`.
 * Fix: Saving settings without changes now shows a success message instead of an
   error.
 * Enhancement: Admin table now shows specific display rules (IDs or URL parts) 
   for better clarity.
 * Enhancement: Improved admin notices for saving and updating sticky blocks.

#### 1.0.2

 * July 10, 2023
 * Updated minor issues, compatibility, WP version

#### 1.0.1

 * Dec 03, 2022
 * Updated minor issues, compatibility, best user experience
 * Optimized functions

#### 1.0.0

 * Sept 01, 2022
 * Built this plugin

## Meta

 *  Version **1.0.5**
 *  Last updated **8 months ago**
 *  Active installations **50+**
 *  WordPress version ** 5.6 or higher **
 *  Tested up to **6.8.5**
 * Tags
 * [ads](https://wordpress.org/plugins/tags/ads/)[block](https://wordpress.org/plugins/tags/block/)
   [sidebar](https://wordpress.org/plugins/tags/sidebar/)[sticky](https://wordpress.org/plugins/tags/sticky/)
   [widget](https://wordpress.org/plugins/tags/widget/)
 *  [Advanced View](https://wordpress.org/plugins/sticky-blocks/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/sticky-blocks/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/sticky-blocks/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/sticky-blocks/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/sticky-blocks/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/sticky-blocks/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/sticky-blocks/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/sticky-blocks/reviews/)

## Contributors

 *   [ Rasel Ahmed ](https://profiles.wordpress.org/wprasel/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/sticky-blocks/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://www.webextended.com/)