It's standard CSS so yes.Now instead of putting the white can we put #ffffff for white?
It's standard CSS so yes.Now instead of putting the white can we put #ffffff for white?
No, that's not correct.
The resource instructions explain how to do it correctly.
Creating custom user group banner CSS
This is very. All you have to do is Inspect Element. Can you give me a link to a post where I can find this postbit design?Yes I have already looked at the guide with changing user banners but that is not helping me with this:
I want my admins banners to be
With solid red and a rounded banner. I am using the same basic theme PixelExit Core but I dont know if Im using the EXACT same as theirs is custom
When I try it gives me
1) I dont like how the red is shaded and not just solid red
2) Instead of it a wrapped banner i want it like a rounded circle
Most and first, how can I get rid of the annoying shade on the banners like the white at the top, dont like that and I wanna make it solid red and the circle type as shown above
.userBanner.admn
{
color: white;
background: url(http://www.rpgmakermv.co/images/sparkles/background6.gif);
border-color: #300138;
}
.veteran
{
background: url('styles/default/xenforo/veteransmaller.png') no-repeat top;
color: transparent;
text-align: center;
height: 30px;
width: 100%;
display: block;
}
.userBanners em{display: inline-block;}
That seems to fix the profile page problem but makes the banner slightly left of center on the thread view and puts some of the banner behind the avatar in mobile portrait view.Try with
Code:.veteran { background: url('styles/default/xenforo/veteransmaller.png') no-repeat top; color: transparent; text-align: center; height: 30px; width: 100px; display: inline-block; }
That seems to fix the profile page problem but makes the banner slightly left of center on the thread view and puts some of the banner behind the avatar in mobile portrait view.
(I tried the 100px setting earlier but didn't look at the profile page because it wasn't right on the thread view. I imagine the desktop forum view can be fixed by some padding? Not sure of the padding would do anything for mobile though. Is there a way to disable the banners for mobile?)
/*VETERAN BANNER*/
<xen:if is="@enableResponsive">
@media (min-width:@maxResponsiveMediumWidth) {
.veteran {
background: url('styles/default/xenforo/veteransmaller.png') no-repeat top;
color: transparent;
height: 30px;
width: 109px;
display: block;
}
}
@media (max-width:@maxResponsiveMediumWidth) {
.veteran {
background: url('styles/default/xenforo/veteransmaller.png') no-repeat top;
color: transparent;
height: 30px;
width: 109px;
display: block;
}
}
@media (max-width:@maxResponsiveNarrowWidth) {
.veteran {
background: url('styles/default/xenforo/icons/grey.png') no-repeat center;
padding-top: 4px;
text-align: center;
color: white;
background-color: transparent;
height: 20px;
width: 110px;
border-radius: 15px 50px;
display: block;
}
}
</xen:if>
We use essential cookies to make this site work, and optional cookies to enhance your experience.