[ad_1]
I tried to make the sticky sidebar using[ this plugin]). And I also tried this CSS code:-
`.fixed-sidebar {`
`position: -webkit-sticky;`
`position: -moz-sticky;`
`position: -ms-sticky;`
`position: -o-sticky;`
`position: sticky;`
`height: 300px;`
`padding: 30px 0;`
`background: #555;`
`color: #fff;`
`top: 10px;`
`bottom: auto;`
`}`
But both ways did not work for me. Right now I am using the Hestia theme. I want to display the amazon ads in the sidebar. Would you guys be able to help me with this? Thank you…
[ad_2]
A sticky sidebar relies on having a longer content area next to it, so it sticks to the top until the end of the parent element is reached, then it starts scrolling up like normal.
[Illustration example])
Without your website and code. It’d be like finding a piece of straw in a infinite room full of needles.