By using Elementorforum.com’s services you agree to our Cookies Use and Data Transfer outside the EU.
We and our partners operate globally and use cookies, including for analytics, personalisation, ads and Newsletters.

  • Join the Best Unofficial Elementor Support forum

    Provide or get advice on everything Elementor and Wordpress, ask questions, gain confirmation or just become apart of a friendly, like minded community who love Wordpress and Elementor


    Join us!
elementor official

Sticky Offset Responsive

P

Persuasion89

New Member
maybe you could make it work with @media queries and

{#sectionid}.elementor-sticky {
sticky_offset: 000px;
}

You might have to do a little more digging to get the actual code right. That's at a glance what id try. don't bother with the sectionid part unless you have a few stickies and have trouble.
 
elementor official
3

3quid

New Member
Thank you @Persuasion89 ... I was trying to solve it via elementor only but clearly this isn't possible at this time. I've now solved it by adding ID's to sections (e.g. product-section-title) and, alongside media enquiries, using the following code in my css...

Code:
/* Desktop 200px offset */
@media only screen  and (min-width : 1026px){#product-section-title  { position: -webkit-sticky; position: sticky; top: 200px;  }
}
 
elementor official
elementor official
Top