Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Youdaman

    (@youdaman)

    You could make your sidebar sticky using #primary-sidebar as the sticky element.

    If you just want one of the widgets, you have to use its selector, e.g. .recent-posts for just the recent posts block.

    Thread Starter jingyansu

    (@jingyansu)

    thank you for your response.

    I tried using #primary-sidebar. But it is still not working. Do i need to make any other changes apart from using this in my sticky element setting?

    Plugin Author Youdaman

    (@youdaman)

    Looks like something else is causing a bug on the page when I look at the error console in Chrome: “Uncaught TypeError: jQuery is not a function” — so maybe a plugin is using jQuery instead of $ or jQuery isn’t being loaded?

    Thread Starter jingyansu

    (@jingyansu)

    i am sorry, my friend but i don’t understand these technical stuffs.

    As much as i know, jquery should load in my page. I compress such files to load site faster. Could it be a reason?

    Thread Starter jingyansu

    (@jingyansu)

    As i am unable to send you the screenshot of the setting page here, i have sent you in twitter. please have a look.

    Plugin Author Youdaman

    (@youdaman)

    Yes the compression is probably stopping it. I replied on Twitter.

    The best way to troubleshoot is to turn off other plugins and try Sticky by itself. Then once that’s working, turn on each plugin again until you find which is breaking the page.

    The cause (most likely) is the compression that is loading the JavaScript in a compressed way, so that the “jQuery” variable (required by a datepicker by the looks of things) is not there, and this stops the page loading further plugins (like Sticky).

    Thread Starter jingyansu

    (@jingyansu)

    okay. trying it. will let you know.

    Thread Starter jingyansu

    (@jingyansu)

    Hello, tried disabling auto optimize plugin and tested. It still doesn’t work. Any other suggestions?

    Plugin Author Youdaman

    (@youdaman)

    Usually with troubleshooting plugins it’s best to disable everything (or at least most things) and enable the one you want to get working, i.e. Sticky, and then once that’s working, then enable the others one by one until things stop working, and that way you can figure out which plugin is causing issues.

    Best of luck and let me know how you go.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘How do i use sticky element in sidebar?’ is closed to new replies.