Viewing 1 replies (of 1 total)
  • It’s definitely possible to use on just one page.

    First, you’re going to have to find the unique body class of that page (for example: pageid-123, postid-456, category-768, or something like that).

    Now let’s say the element you want to make sticky, is .nav-menu or something. Normally, you would enter that in the plugin settings as the sticky element.

    But now, just make sure you use that unique body class with the element name as the sticky element, so instead of just .nav-menu, use .pageid-123 .nav-menu.

    You will get a Javascript error in your console on all other pages (because there’s no element with that specific classname), but that won’t hinder any functionality.

Viewing 1 replies (of 1 total)
  • The topic ‘Only on one page?’ is closed to new replies.