-
Author
-
September 1, 2016 at 19:47 #134596
kjcarleo
ParticipantHow can I change the avatar shape in the menu to be a square shape vice circle?
Attachments:
You must be logged in to view attached files.September 1, 2016 at 20:03 #134611Radu
ModeratorHi,
By adding this css
COPY CODEli.kleo-user_avatar-nav a img { border-radius: 0 !important; }
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSeptember 2, 2016 at 01:58 #134651kjcarleo
ParticipantI applied that code but the avatar is still round in the menu. Did you see my previous screenshot, it still looks like that.
Kevin
September 5, 2016 at 17:18 #134976Radu
ModeratorThat it’s the correct selector, provide admin credentials to take a closer look please
try to copy again the code maybe you have paste with some wired characters before or after check, please , now i’ve checked and i cannot see that css loaded into your site so, paste it again and save theme options it should work
Cheers
RHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSeptember 5, 2016 at 17:30 #134978kjcarleo
ParticipantYes! That fixed it for the menu.
But how do I make the one next to “log out” in the sidebar and other places? See attached.
Attachments:
You must be logged in to view attached files.September 6, 2016 at 15:05 #135095Radu
ModeratorUse this css
COPY CODE.bp-login-widget-user-avatar { border-radius: 0; border: 0; } #item-header > #item-header-avatar { border: 0; }
The second rule will remove the border for the user profile pic
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSeptember 6, 2016 at 15:18 #135097kjcarleo
ParticipantGreat thanks, is it possible to put any type of border around the square though?
Kevin
September 6, 2016 at 18:09 #135136Radu
ModeratorYes, replace border:0; with border:2px solid #ddd;
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSeptember 8, 2016 at 04:06 #135372kjcarleo
ParticipantI applied that setting in the following places, and it looks like the attachment, did I do something wrong:
.bp-login-widget-user-avatar {
border-radius: 0;
border: 2px solid #ddd;
}#item-header > #item-header-avatar {
border: 2px solid #ddd;
}Attachments:
You must be logged in to view attached files.September 8, 2016 at 15:37 #135442Radu
ModeratorREplace that css-s with those
COPY CODE.bp-login-widget-user-avatar { border-radius: 0; border: 5px solid #ddd; } #buddypress .rounded, .buddypress .rounded { border-radius: 0 !important; }
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSeptember 9, 2016 at 03:31 #135555kjcarleo
ParticipantThat did the trick, but can I put a white border around the avatar on the menu?
Kevin
September 9, 2016 at 18:37 #135620Radu
ModeratorSure, with this css
COPY CODEli.kleo-user_avatar-nav a img { border:2px solid #ddd;}
Cheers
R.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSeptember 9, 2016 at 20:03 #135636Radu
ModeratorGreat
Have a nice week
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution -
AuthorPosts
The forum ‘General questions’ is closed to new topics and replies.