Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • in reply to: Sticky menu? #37389
    ravravrav
    Member
    Post count: 2
    in reply to: Sticky menu? #37282
    ravravrav
    Member
    Post count: 2

    Hi would really appreciate some quick help here!

    I’ve made a box and given it a class name of ‘sticky2’

    Then in the custom JS box I’ve added

    <script>
    $(document).ready(function(){
    $(“.sticky2”).sticky({ topSpacing: 100 });
    });
    </script>

    But it doesn’t seem to be working. I’ve checked and the code is being added to the WordPress Footer hook so not sure why it’s not running.

    Any help much appreciated!

Viewing 2 posts - 1 through 2 (of 2 total)