Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1339914
    Ann
    Participant

    Hi Guys,

    I have added the bbpress login widget to my forum page and the checkbox for “Remember me” is on a different row than the “Remember me” text. Is it possible to push that to be on the same row?

    See what I mean here: https://moveu.com/forums/support-center/

    Thanks!

    Ann

    #1340158
    Christopher
    Moderator

    Hi there,

    Please add following code in Customize -> Custom -> Global CSS :

    label[for="rememberme"] {
        width: 80%;
        float: left;
        padding-top: 13px;
        padding-bottom: 13px;
    }
    input#rememberme {
        float: left;
        width: 4%;
        vertical-align: middle;
        margin: 10px auto;
    }

    Hope that helps.

    #1340487
    Ann
    Participant

    Thanks Christopher! That worked 🙂

    Could you help me with a few other things? I tried to set the bbpress custom avatar by adding the following code to my function file:

    function x_add_default_avatar( $url ){
    return ‘https://moveu.com/wp-content/uploads/MoveU-Forum-Icon.jpg’;
    }
    add_filter( ‘bp_core_mysteryman_src’, ‘x_add_default_avatar’ );

    Nothing happened though. Is the code wrong?

    Is it possible to get the avatar image and the user name on the same row as well? The screenshot attached is for logged in users. I also don’t know why the avatar image is sooooo tiny.

    Thanks again for awesome support!!

    Ann

    #1340499
    Thai
    Moderator

    Hi There,

    Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:

    – Link login to your site
    – WordPress Admin username / password

    Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.

    Thanks.

    #1340501
    Ann
    Participant
    This reply has been marked as private.
    #1340696
    Rad
    Moderator

    Hi there,

    The avatar is 40×40, and pulled from here https://secure.gravatar.com/avatar/7c15d954e5b662bf30c150f5a05f5901?s=40&d=mm&r=g. It’s the default size in WordPress gravatar. And to align it with the user name, then please add this CSS to Admin > Appearance > Customizer > Custom > CSS

    .widget .bbp-logged-in > a > img {
        float: left;
        margin-right: 20px;
        margin-bottom: 70px;
    }

    About the reply background color, please add this too,

      ul.bbp-replies li:nth-child(odd){
      background-color: #ccc;
      }

    Hope this helps.

    #1340812
    Ann
    Participant

    That worked great! The “Log out” moved to the right too now, I adjusted it before with css but it doesn’t seem to work now. See screenshot.

    I tried to set the bbpress custom avatar too by adding the following code to my function file:

    function x_add_default_avatar( $url ){
    return ‘https://moveu.com/wp-content/uploads/MoveU-Forum-Icon.jpg’;
    }
    add_filter( ‘bp_core_mysteryman_src’, ‘x_add_default_avatar’ );

    Nothing happened though. Is the code wrong?

    Thanks!

    Ann

    #1341023
    Rue Nel
    Moderator

    Hello There,

    Thanks for updating in!

    The custom code may not work as expected. Please check out these other solutions:
    http://wordpress.stackexchange.com/questions/59900/how-to-change-buddypress-mystery-man-graphic-without-overwriting-core-image-file

    default Gravatar

    To align the logout link to your logo, please find this css block:

    .widget .bbp-logged-in > a > img {
        float: left;
        margin-right: 20px;
        margin-top: 0px !important;
        margin-bottom: 70px;
    }

    You will need to update it, set the bottom margin to zero just like this:

    .widget .bbp-logged-in > a > img {
        float: left;
        margin-right: 20px;
        margin-top: 0px !important;
        margin-bottom: 0;
    }

    Hope this helps.

    #1341091
    Ann
    Participant

    Thanks guys!

    Couldn’t figure out the bbpress avatar situation so ended up adding an avatar to wordpress instead (http://www.wpbeginner.com/wp-tutorials/how-to-change-the-default-gravatar-on-wordpress/)

    Wonderful support as always!!

    Ann

    #1341107
    Paul R
    Moderator

    You’re welcome and Thank you for your kind words! 🙂

  • <script> jQuery(function($){ $("#no-reply-1339914 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>