Visual Composer – Sticky Sidebar with colored background

Posted in: Newspaper
Post count: 6

Hi,

first of all, thanks for this great theme <3

I created a site with the VC an added an manuell sidebar with an colored background. With the class “td-ss-row” i made the sidebar sticky, but when the sidebar starts to stick the background color changed to default. Any ideas how to handle it?

Best regards,
André

Post count: 22421

Hello,
The smart sidebar does not support a background color from visual composer as the container changes when it starts to stick. You can add a background color using css just to the container that moves, but it will be without the padding: http://screencast.com/t/aCLsGjtMez
Thank you!

Post count: 6

Thx! This worked fine. But now the sidebar get’s smaller when it starts to stick. Any solutions here? Example: http://www.gameoasis.de/ladbrokes-casino/

Post count: 22421

Hello,
It does get smaller as only the containing div sticks, not the outer one so just the small one is moving. You will need to target just the small area when it’s not sticky as well.
Thank you!

Viewing 4 posts - 1 through 4 (of 4 total)
The forum ‘Newspaper’ is closed to new topics and replies.