This topic has 5 replies, 2 voices, and was last updated 8 years by Laura.

  • Author
  • #166035
     dtalton1607
    Participant

    I used a function to insert a banner shortcode above my Member Directory but doing so produces a strange padding just above the banner (inside the red box in the jpeg).  Any thoughts on how to eliminate it?  Please see attachment for visual.

     

    This was the function I used:

    /**

    *Content above Member Directory

    **/

    function sq_add_adsense_to_member_directory() {

    echo do_shortcode(‘[rev_slider alias=”members_header”]’);

    }

    add_action(‘bp_before_directory_members_content’,’sq_add_adsense_to_member_directory’);

    #166067
     Laura
    Moderator
    Not marked as solution
    #166081
     dtalton1607
    Participant
    Not marked as solution
    #166087
     Laura
    Moderator
    Not marked as solution
    #166089
     dtalton1607
    Participant
    Not marked as solution
    #166092
     Laura
    Moderator
    Not marked as solution
Viewing 6 posts - 1 through 6 (of 6 total)

The forum ‘General questions’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?