Tagged: x
-
AuthorPosts
-
January 21, 2017 at 3:58 pm #1339914
AnnParticipantHi 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
January 21, 2017 at 11:12 pm #1340158
ChristopherModeratorHi 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.
January 22, 2017 at 10:05 am #1340487
AnnParticipantThanks 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
January 22, 2017 at 10:13 am #1340499
ThaiModeratorHi 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 / passwordDon’t forget to select Set as private reply. This ensures your information is only visible to our staff.
Thanks.
January 22, 2017 at 10:16 am #1340501
AnnParticipantThis reply has been marked as private.January 22, 2017 at 2:31 pm #1340696
RadModeratorHi 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.
January 22, 2017 at 5:39 pm #1340812
AnnParticipantThat 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
January 22, 2017 at 10:22 pm #1341023
Rue NelModeratorHello 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-fileTo 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.
January 23, 2017 at 12:23 am #1341091
AnnParticipantThanks 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
January 23, 2017 at 12:41 am #1341107
Paul RModeratorYou’re welcome and Thank you for your kind words! 🙂
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1339914 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
