Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • in reply to: Hide top nav when scroll down #172669
     alexander
    Participant

    I Resolved it by putting this jQuery code in:
    Theme options => general settings -> javascript:

    COPY CODE
    <script>
      jQuery(window).scroll(function(){
      if(jQuery(this).scrollTop() > 0){
        jQuery('.social-header').fadeOut(150)
      }else{
        jQuery('.social-header').fadeIn(150);
      }
      });
    </script>

    example : https://drnona.work/travel-destination/

    in reply to: Adding new button in Member page #169789
     alexander
    Participant

    Thats okay… i have fired it up 😛

    COPY CODE
    add_action('bp_member_header_actions', 'sq7_extra_fields_members_profile');
    function sq7_extra_fields_members_profile() {
    
       echo '<div id="send-private-message" class="generic-button"><a href="https://drnona.work/members/1281/messages/compose/?r=100500&_wpnonce=8d15c429b4" class="send-message">Private Message</a></div>';
    }
Viewing 2 posts - 1 through 2 (of 2 total)

Log in with your credentials

Forgot your details?