I'm using XF2. I have very basic experience with html and CSS but I was finally able to figure it out. Here is a link on my site that shows it off...
here
Here are the steps:
Edit this template... app_user_banner.less
Put this code in:
a {
display: block;
background: transparent;
text-align: center;
color: white;
}
Insert it in the section where I typed "INSERTED here" in the code below. Save of course. Then use html to hyperlink the user banner text in the Usergroup section of Admin panel. From there, your entire banner should be clickable and linked to a site of your choice!
Code:
.m-userBannerVariation(@color; @bg; @border: false)
{
color: @color;
background: @bg;
border-color: xf-intensify(@bg, 10%);
border-radius: @xf-borderRadiusMedium;
& when (iscolor(@border))
{
border-color: @border;
}
}
.userBanner
{
font-size: 75%;
font-size: 11px;
font-weight: @xf-fontWeightNormal;
font-style: normal;
padding: 1px @xf-paddingMedium;
padding: 1px 3px;
border: 1px solid transparent;
border-radius: @xf-borderRadiusSmall;
text-align: center;
display: inline-block;
INSERTED here.
strong
{
font-weight: inherit;
}