The Arcive of vBulletin Modifications Site. |
|
Add avatars santa hat with CSS vB5 Details »»
|
||||||||||||||||||||||||||
Description:
The simple and easy way to add a santa hat to all avatars. How to install:
HTML Code:
/* Add Avatara Santa Hat with CSS start */
.avatar,
.b-avatar,
.b-avatar--thread {
border: 0;
}
.b-userinfo .b-avatar, .b-userinfo .b-avatar img {
max-height: 80px;
max-width: 80px !important;
width: 80px;
height: 80px;
}
.avatar img,
.avatar:not(.medium) > img,
.b-avatar:not(.b-avatar--m) > img,
.b-avatar--thread > img,
.b-avatar--s > img,
.b-comment .b-avatar img,
.b-comp-menu-dropdown__trigger-avatar,
.profile-sidebar-widget .profileContainer .profile-photo-wrapper .profile-photo,
.b-avatar--pmchat,
.b-pmchat__participants-avatar,
img.avatar,
img.b-avatar {
border-radius: 100%;
}
.avatar,
.b-avatar,
.b-avatar--thread {
border: 0;
position: relative !important;
overflow: visible !important;
}
.b-avatar--thread img {
border: 1px solid #fff;
}
.avatar:before,
.b-avatar:before,
.b-avatar--thread:before {
content: ' ';
background-image: url(/images/santahat.svg) !important;
background-size: contain !important;
background-repeat: no-repeat !important;
width: 75% !important;
height: 75% !important;
position: absolute !important;
top: -11% !important;
left: -8% !important;
}
/* Add Avatara Santa Hat with CSS end */
Download Now
Screenshots
Show Your Support
|
||||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
Great job!
|
| Благодарность от: | ||
| Chicoynano | ||
|
#3
|
|||
|
|||
|
Is it possible to change the hat to another color or shape? (Didn't see a image file in the downloaded file)
|
|
#4
|
||||
|
||||
|
In version 5.6.4 the change is not displayed any suggestions. THANKS
|
|
#5
|
||||
|
||||
|
Solved you have to remove the /
background-image: url(/images/santahat.svg) !important; background-image: url(images/santahat.svg) !important; |
![]() |
|
|