Forums
Home / Theme: Sydney / can’t create a sticky sidebar
(@vickykumar021)
1 year, 2 months ago
How to create a sticky sidebar in Sydney theme without using a plugin. I just want to make the last sidebar sticky.
(@kharisblank)
Hi @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).
#block-2 { position: -webkit-sticky; /* Safari */ position: sticky; top: 0; z-index: 2; }
Replace #block-2 with your widget element ID.
#block-2