XF 2.2 Color banner

Binkaddas

Member
Good Day Support,

1- kindly note that if i change the option in user profile as below that mean user will get banner for ( administrative staff )
1690700078941.png

2- if i use the below code ( user will get color in the banner
Code:
.userBanner--staff    {font-weight:bold;background-image: linear-gradient(210deg, #8F343A, #26A65B, #1C86EE, #FFBE1C, #176093, #7AF26D, #8E44AD, #CC6600, #CF4D35, #E0EEEE)!important; background-size: 1200% 1200%!important; -webkit-animation: trgamers 15s ease infinite!important; -moz-animation: trgamers 15s ease infinite!important; -o-animation: trgamers 15s ease infinite!important; animation: trgamers 15s ease infinite!important;}
@-webkit-keyframes trgamers {0% {background-position: 0% 50%}50% {background-position: 100% 50%}100% {background-position: 0% 50%}}
@-moz-keyframes trgamers     {0% {background-position: 0% 50%}50% {background-position: 100% 50%}100% {background-position: 0% 50%}}
@-o-keyframes trgamers        {0% {background-position: 0% 50%}50% {background-position: 100% 50%}100% {background-position: 0% 50%}}
@keyframes trgamers         {0% {background-position: 0% 50%}50% {background-position: 100% 50%}100% {background-position: 0% 50%}}

1690700311283.gif


3- now the question

how can i update this code to be used for the registration user to change the user title to be same format?

1690700424844.png
 
As you can see, your css code is dedicated for staff banner

Code:
.userBanner--staff

just duplicate the whole code and change --staff to --hidden because this is a parameter used for default banner.
 
You need to add the custom styling to the extra.less template, or you can use this guide.

 
Top Bottom