Closed Fanni-Portier closed 7 years ago
There is a minWidth
option you can use. The only code you need is this:
$(document).ready(function() {
$('.sidebar').theiaStickySidebar({
minWidth: 900
});
});
Otherwise there isn't a way to completely "unload" the sticky sidebar.
Oh boy!!! That easy! Thanks :)
Hi!
I want the sticky sidebar only on a viewport size 900 and bigger. How can I remove all the theia things in the code when I resize the window after loading the sticky sidebar? It causes problems on smaller screens.
I used this code: ` $(document).ready(function() {
`