Support » Plugin: Sticky Menu & Sticky Header » no elements with the selector/class/ID

  • Resolved musicattiva


    Good morning, in the elements of the theme the plugin works.
    If I insert a wpdatatables plugin class, the class is not recognized.
    Can you give me some advice before buying your plugin?

    HTML is: <div class=”dt-buttons”>
    Plugin setting is: .dt-buttons
    Response console is: “STICKY ANYTHING DEBUG: There are no elements with the selector/class/ID you selected for the sticky element (“.dt-buttons”).”

    Thanks in advance,

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Alexandru Tapuleasa



    Try targetting a wrapping element, it might be that those classes do not exist on page load and WP Sticky does not find them when setting up the sticky elements.

    Thread Starter musicattiva


    Thank you for the impressive responsiveness 🙂
    I don’t have wrapper elements for those buttons,
    I just have the option to insert custom css and/or js into the plugin.
    Is there any chance?

    Thanks again

    Plugin Author Alexandru Tapuleasa


    I don’t have any ideas, unfortunately 🙁
    Datatables loads its elements via JS after page load so WP Sticky can’t see them when it sets up its own code.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.