Sticky Sidebar only working when Visual Composer is active (even with shim)

Posted in: Newsmag
Post count: 11

Hi there,

I have an infinite scrolling home page with a Widgetised Sidebar that should be sticky– and it is, but only when Visual Composer is active. When it isn’t active, the sidebar is not sticky (even with the Shim).

I’m not getting any console errors corresponding to it and am having trouble figuring it out.

Here is the link to the website for reference: futureboyfriends.com

The supposed-to-be sticky sidebar is beside the infinite scrolling block below the video playlist.

Thank you if you can help!

Post count: 6535

Hi

In order to have a sticky sidebar the Visual Composer plugin must be active as the td-ss-row class it’s applied for a row from this plugin.

Thanks!

Post count: 11

Thanks for getting back to me so quick!

How come the sticky sidebar works when it’s the default sidebar as opposed to a widgetised sidebar block (with Visual Composer deactivated).

I really don’t want to have the Visual Composer plugin active. I normally just have the Shim on and everything has been fine. Why is the sticky sidebar the one thing that needs it even with the Shim / how can I get around this?

Thanks!

Post count: 6535

Hi

As the sidebar to be sticky on the content displayed with Visual Composer page-builder it’s required the vc_row container because the style oftd-ss-row class it’s applied on that container: http://screencast.com/t/uVO8q7Bis When shim plugin it’s used td-ss-row class does not appear in page source and the td-ss-row class won’t apply it’s effect.
The default sidebar it’s applied for the latest article part which does not require Visual Composer and the style for it it’s made different. When the option from theme panel is enabled a new style it’s added for the sidebar’s column. That style it’s added by theme’s js only if this option from theme panel it’s enabled: http://screencast.com/t/E4IWB6nZglXH
The smart sidebar was not tested to work with shim plugin. In order to have it working are required some customizations in plugin’s files. This is a complex task and unfortunately i can”t provide a solution now. At the moment if you want to use the smart sidebar the only way is to have Visual Composer active.

Thanks!

Viewing 4 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic.