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

XF 1.2 Last questions

#1
After a month hopfully today we will go live but there are a couple of issues to address:

1) There is an issue with Global moderators. Even though they have all the required permission and appear in user lists correctly in their profile appear as members! 2013-08-02 10_25_35-Flaminio Bertoni _ my2cv.gr - The story of a legend.jpg

2013-08-02 10_25_54-my2cv.gr - The story of a legend.jpg

2) Is it possible to center small user names?
2013-08-02 10_25_02-Final Migration - Readme _ my2cv.gr - The story of a legend.jpg
 

Attachments

Brogan

XenForo moderator
Staff member
#3
1. You have not made them a moderator. I suspect you have only added them to the user group.

2. Add to EXTRA.css:
Code:
.messageUserBlock a.username {
text-align: center;
}
3. I suspect this is due to wrapping in the header area but impossible to debug from a screenshot.
 

Shelley

Well-known member
#4
After a month hopfully today we will go live but there are a couple of issues to address:

1) There is an issue with Global moderators. Even though they have all the required permission and appear in user lists correctly in their profile appear as members! View attachment 52937

View attachment 52938

2) Is it possible to center small user names?
View attachment 52939
2. Regarding centering the username this will however center all usernames. Add the following in EXTRA.CSS template.

edit: Nija'd by @Brogan

Code:
.messageUserBlock .username {text-align: center;}
 

EQnoble

Well-known member
#5
2) Is it possible to center small user names?
View attachment 52939
I don't think there is a simple one liner just to center names under a certain length, all center or none.

In iPhone looking like:

View attachment 52943

Any suggestions?
Code:
<div style="float:right; text-align:left; font-size:24px; color:white; width:60%; margin-top:40px;">The story of a legend</div>
this is your problem, you need to refactor that. It is not your options setup in the control panel that is the problem.

If you replace that with the following in there and let me know when it is in place I will write you some css to make it work.
Code:
<div class="storyOfLegend">The story of a legend</div>
 
#6
I don't think there is a simple one liner just to center names under a certain length, all center or none.


Code:
<div style="float:right; text-align:left; font-size:24px; color:white; width:60%; margin-top:40px;">The story of a legend</div>
this is your problem, you need to refactor that. It is not your options setup in the control panel that is the problem.

If you replace that with the following in there and let me know when it is in place I will write you some css to make it work.
Code:
<div class="storyOfLegend">The story of a legend</div>
Thanks EQnoble!
Where i can find that? Sorry I'm a noob
 

Brogan

XenForo moderator
Staff member
#7
You have probably added it to the ad_header template.

I would use a media query to hide the text once the width drops below a certain size.
You can do that by adding a class to the div like so:
Code:
<div class="my-header-text">The story of a legend</div>
Then using something like the following:
Code:
<style type="text/css">
.my-header-text {
float: right;
text-align:left;
font-size:24px;
color:white;
width:60%;
margin-top:40px;
}

<xen:if is="@enableResponsive">
    @media (max-width:400px) {
        .my-header-text  {
        display: none;
        }
    }
</xen:if>
</style>
 

Brogan

XenForo moderator
Staff member
#9
The full ad_header template would be something like:

Code:
<style type="text/css">
.my-header-text {
float: right;
text-align:left;
font-size:24px;
color:white;
width:60%;
margin-top:40px;
}

<xen:if is="@enableResponsive">
    @media (max-width:400px) {
        .my-header-text  {
        display: none;
        }
    }
</xen:if>
</style>

<div class="my-header-text">The story of a legend</div>
Change the 400px to suit.
 
#18
Yes. I just don't understand the:

Apps user: If your administrator hasn't enabled Google+ for your domain, you won't be able to sign up for a Google+ account to use the +1 button.
Is anything that i must do on my forum or in my google+ account?
 

Mike

XenForo developer
Staff member
#20
It appears that your forums are closed, thus G+ can't read the page, so you'll get that error.