Tagged: x
-
AuthorPosts
-
October 11, 2016 at 8:02 pm #1212319
margleyParticipantHi I’m trying to hide only the “@” symbol on user profiles. It’s an H2 element with the class “user-nicename”. I’ve tried the following code:
h2.user-nicename { display: block; } h2.user-nicename:first-letter { font-size: 0px; }Unfortunately, it seems to have tied the “@” symbol and first letter together…
October 11, 2016 at 8:03 pm #1212321
margleyParticipantThis reply has been marked as private.October 12, 2016 at 2:30 am #1212588
RupokMemberHi there,
Thanks for writing in! Here goes an easy solution for you. Let’s add this under Custom > CSS in the Customizer.
.buddypress .user-nicename { overflow-x: hidden; text-indent: -15px; }Cheers!
October 16, 2016 at 3:42 pm #1218494
margleyParticipantThat worked! Now how how to I create some extra space between the profile picture and the text on the right?
October 16, 2016 at 8:47 pm #1218786
Rue NelModeratorHello There,
To add some space from the profile picture, please update the code and use this instead:
.buddypress .user-nicename { overflow-x: hidden; text-indent: -15px; margin-left: 5px !important; } #buddypress span.activity { margin-left: 10px; }Hope this helps.
October 17, 2016 at 9:47 pm #1220237
margleyParticipantThat worked! Thank you!
October 17, 2016 at 10:29 pm #1220264
Prasant RaiModeratorYou are most welcome. 🙂
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1212319 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
