Title: Sticky Sidebar for Ads and Blocks
Author: Rasel Ahmed
Published: <strong>07. rujna 2022.</strong>
Last modified: 26. kolovoza 2025.

---

Pretraga dodataka

![](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

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

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

 * [Detalji](https://hr.wordpress.org/plugins/sticky-blocks/#description)
 * [Recenzije](https://hr.wordpress.org/plugins/sticky-blocks/#reviews)
 *  [Instalacija](https://hr.wordpress.org/plugins/sticky-blocks/#installation)
 * [Razvoj](https://hr.wordpress.org/plugins/sticky-blocks/#developers)

 [Podrška](https://wordpress.org/support/plugin/sticky-blocks/)

## Opis

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/)

## Snimke zaslona

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

## Instalacija

 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

## ČPP

### 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.

## Recenzije

![](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/) 08. rujna 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.

 [ Pročitajte 1 recenziju ](https://wordpress.org/support/plugin/sticky-blocks/reviews/)

## Suradnici i Programeri

“Sticky Sidebar for Ads and Blocks” je softver otvorenog koda. Sljedeće osobe su
doprinijele ovom dodatku.

Suradnici

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

[Prevedite “Sticky Sidebar for Ads and Blocks” na svoj jezik.](https://translate.wordpress.org/projects/wp-plugins/sticky-blocks)

### Zainteresirani ste za razvoj?

[Pregledajte kôd](https://plugins.trac.wordpress.org/browser/sticky-blocks/), pogledajte
[SVN spremište](https://plugins.svn.wordpress.org/sticky-blocks/)ili se pretplatite
na [dnevnik razvoja](https://plugins.trac.wordpress.org/log/sticky-blocks/) od [RSS](https://plugins.trac.wordpress.org/log/sticky-blocks/?limit=100&mode=stop_on_copy&format=rss).

## Dnevnik promjena

#### 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**
 *  Zadnje ažuriranje **prije 9 mjeseci**
 *  Aktivnih instalacija **50+**
 *  WordPress inačica ** 5.6 ili viša **
 *  Testirano do **6.8.5**
 *  Language
 * [English (US)](https://wordpress.org/plugins/sticky-blocks/)
 * Oznaka
 * [ads](https://hr.wordpress.org/plugins/tags/ads/)[block](https://hr.wordpress.org/plugins/tags/block/)
   [sidebar](https://hr.wordpress.org/plugins/tags/sidebar/)[sticky](https://hr.wordpress.org/plugins/tags/sticky/)
   [widget](https://hr.wordpress.org/plugins/tags/widget/)
 *  [Napredni pogled](https://hr.wordpress.org/plugins/sticky-blocks/advanced/)

## Ocjena

 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/)

## Suradnici

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

## Podrška

Želite nešto reći? Potrebna vam je pomoć?

 [Pregledaj forum za podršku](https://wordpress.org/support/plugin/sticky-blocks/)

## Doniraj

Želite li podržati napredak ovog dodatka?

 [ Donirajte ovom dodatku ](https://www.webextended.com/)