Looking for a little help here. I don't have any knowledge of coding or whatsoever but managed a little here and there by just trying. I'm stuck on something that really bothers me:
Text-align: center does kinda center my text but I would like to move it slightly to the left so the text matches with the avatar. I have no idea how to do this.
Example of what bothers me:
Example of what I want:
Code:
Code:
.userLevelContainer {
position: relative;
background: $userlevelColor_001;
box-sizing: content-box;
display: flex;
flex-direction: row;
flex-wrap: nowrap;
justify-content: flex-start;
height: $userLevelBarHeight;
width: 110%;
text-align: center;
border-radius: $userLevelBorderRadius;
padding: 3px;
.badgeOnline {
position: absolute;
left: -1px;
bottom: -1px;
color: transparent;
padding: 0;
background-color: #27ae60;
border: 1px solid rgba(255, 255, 255, 1);
border-radius: 50%;
content: "";
height: 13px;
width: 13px;
}
.userAvatar {
.userAvatarImage {
border-radius: $userLevelBorderRadius;
height: $userLevelBarHeight !important;
width: $userLevelBarHeight !important;
}
}
.userLevel, .username {
line-height: $userLevelBarHeight;
font-weight: bold;
}
.userLevel {
color: #fff;
padding: 0 10px 0 5px;
font-size: 18px;
}
.username {
background-color: $wcfSidebarBackground;
flex: 1;
border-radius: $userLevelBorderRadius;
padding-left: 10px;
font-size: 16px;
color: $wcfSidebarText;
top: 0px;
white-space: nowrap;
overflow: visible;
text-overflow: ellipsis;
&:hover {
color: $wcfSidebarLinkActive;
}
&.longUsername {
font-size: 16px;
}
}
Thanks in advance.






