Sticky for selected viewports only?

Posted in: Newspaper
Post count: 500

I am checking Sticky in an Inner Column for Landscape viewport only. Desktop and Portrait are unchecked.

But the column is sticking on all viewports. Is this normal? Is it not possible to have a sticky on selected viewports, not all?

Thanks

Mark

Post count: 27744

Hello Mark,

Yes, there seems to be an issue with the responsive version of the sticky option. I added this to our list, and I hope it will be fixed soon.

Thank you!

Post count: 500

Ah – ok. That would be welcome, as soon as possible.

Post count: 24

HI Annamaria,
For further information, if a column is marked as sticky, it’s good in Desktop, landscape, and disappears anyway for mobile. But in portrait, it stays, even if I disable sticky. It ends up having a ghosting effect, where it hovers over/under the content. I have 3 sites with newspaper, and it happens on all of them.

Its quite a serious problem. Any idea when it will be fixed.

thanks

Post count: 24

Here is a screenshot

Post count: 35449

Hi barrydmoore,
We’ve identified the issue: once the sticky column option is enabled, it’s being applied across all viewports, regardless of whether it’s selected for each specific viewport.
We’ll have this fixed as soon as possible.
In the meantime, we can provide a css that should fix the problem:
@media (min-width:768px) and (max-width:1018px){.home .td-pb-span3.td-is-sticky.left-sidebar .wpb_wrapper{position:relative!important;top:0!important}}
The code should be set in the theme panel > custom code> custom css.

Post count: 24

Hi Calin, thanks for your help,

I implemented the fix, but it does not work on Category pages or post pages. Here is an example page with the fix not working. https://www.liberatedstocktrader.com/category/charts/

Post count: 35449

Ok, please replace the above code with this one:
@media (min-width:768px) and (max-width:1018px){
body .td-is-sticky .wpb_wrapper{position:relative!important;top:0!important
}
}

Post count: 24

That code worked, thank you so much Calin.

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