• Resolved Nick van Bakel

    (@nick-van-bakel)


    I want to put some jquery in my pagebuilder page but i don’t know how.
    I think i have the right code but i don’t know how to insert it in my page.

    This is the jquery code:

    $(window).scroll(function(){
          if ($(this).scrollTop() > 30 ) {
              $('.Fixed').addClass('#Fix');
          } else {
              $('.Fixed').removeClass('#Fix');
          }
      });

    And this is the css code:

    #Fix
    {
    position: fixed;
    }

    I hope someone can help me.

  • The topic ‘jquery in pagebuilder’ is closed to new replies.