• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.3 Center all banners in messageUserBlock

Chimpie

Well-known member
#1
We are using banners for some of the usergroups and the default staff banner. We would like to center them, as we've already center the user names and user titles.

I put this in the extra.css (tried before posting here) but it's not working:
Code:
.messageUserBlock .userBanner
{
text-align: center;
}
Suggestions?
 

Brogan

XenForo moderator
Staff member
#2
Banners are centred by default.

What is the link to your site with an example of banners which aren't?
 

Brogan

XenForo moderator
Staff member
#6
Ah, you mean in the minimum responsive width.

You will need to edit the class for .Responsive .messageUserBlock .userBanner.

upload_2014-8-20_22-34-52.png
 

Chimpie

Well-known member
#7
I'm probably making this harder than I need to, still learning, but I put in the extra.css this...

Code:
<xen:if is="@enableResponsive">
.Responsive .messageUserBlock .userBanner
{
text-align: center;
}
</xen:if>
No luck. Am I going about it the wrong way?