Title: can&#8217;t create a sticky sidebar
Last modified: September 26, 2023

---

# can’t create a sticky sidebar

 *  [vickykumar021](https://wordpress.org/support/users/vickykumar021/)
 * (@vickykumar021)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/create-sticky-sidebar/)
 * How to create a sticky sidebar in Sydney theme without using a plugin. I just
   want to make the last sidebar sticky.
    -  This topic was modified 2 years, 10 months ago by [vickykumar021](https://wordpress.org/support/users/vickykumar021/).

Viewing 1 replies (of 1 total)

 *  [Kharis Sulistiyono](https://wordpress.org/support/users/kharisblank/)
 * (@kharisblank)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/create-sticky-sidebar/#post-17084261)
 * Hi [@vickykumar021](https://wordpress.org/support/users/vickykumar021/),
 * To create a sticky widget in sidebar, you could use this simple CSS code to add
   into Additional CSS (located under **Appearance** menu > **Customize**).
 *     ```wp-block-code
       #block-2 {
           position: -webkit-sticky; /* Safari */
           position: sticky;
           top: 0;
           z-index: 2;
       }
       ```
   
 * Replace `**#block-2**` with your widget element ID.

Viewing 1 replies (of 1 total)

The topic ‘can’t create a sticky sidebar’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/sydney/2.70/screenshot.png)
 * Sydney
 * [Support Threads](https://wordpress.org/support/theme/sydney/)
 * [Active Topics](https://wordpress.org/support/theme/sydney/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/sydney/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/sydney/reviews/)

## Tags

 * [sidebar](https://wordpress.org/support/topic-tag/sidebar/)

 * 1 reply
 * 2 participants
 * Last reply from: [Kharis Sulistiyono](https://wordpress.org/support/users/kharisblank/)
 * Last activity: [2 years, 10 months ago](https://wordpress.org/support/topic/create-sticky-sidebar/#post-17084261)
 * Status: not resolved