The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
How to center username and user title?
I would like to know how to center the Username and Usertitle on the profile page?
Does anyone know how to do this? I know it is done in "additional.css", but I don't know the CSS do add. Could anyone please help me? Here is a screenshot of my profiles: --------------- Added [DATE]1403741319[/DATE] at [TIME]1403741319[/TIME] --------------- I think I might have posted this in the wrong place. My mistake, sorry about that. I have just created this thread in the "Unpaid" section. Could a Mod or Admin please close this thread? Thank you. |
#2
|
||||
|
||||
Try adding in this css to additional.css:
Code:
/* center avatar, username, title, rank, userinfo_extra, postbit_reputation, imlinks */ .postbitlegacy .userinfo .username_container, .postbitlegacy .userinfo .rank, .postbitlegacy .userinfo .usertitle .imlinks { text-align:center; } .postbitlegacy .userinfo .postuseravatar, .postbitlegacy .userinfo .postuseravatar img { float:none; text-align:center; } .postbitlegacy .userinfo .usertitle { display: block; float:none; text-align:center; clear: both; } .postbitlegacy .userinfo .userinfo_extra { text-align:center; clear: both; } .postbit_reputation { float:none; text-align:center; } .postbitlegacy .imlinks { float:none; text-align:center; } .postbitlegacy .after_content { clear:right !important; } |
2 благодарности(ей) от: | ||
BasicGreatGuy, tbworld |
#3
|
||||
|
||||
Quote:
It seems to solved most of the centering issues. However, the usertitle is still not centered on the Profile page. You should know that I have setup images for the User Titles, and not text. I don't know if that matters or not. Its not a Mod though, I have <img src="URL"> in the User Title boxes in the AdminCP. Here is the direct link to my Profile Page on my site: https://thetechgenius.net/members/1-TheTechGenius |
#4
|
|||
|
|||
This should not be done with inline CSS. However, it was not cooperating on a remote page and I did not have the extra time to spend on it. This will get you going for now.
Edit your template and make the following change. Search for: Code:
<span class="usertitle"> Code:
<span style="display:inline-block; text-align:center;" class="usertitle"> |
Благодарность от: | ||
TheLastSuperman |
#5
|
||||
|
||||
Quote:
I edit the MEMBERINFO template, correct? I did what you said, and still nothing. I tried everything to get this centered. I am really about to give up, and just leave it like that. Thank you for helping me though, I greatly appreciated! |
#6
|
|||
|
|||
If you have loaded some kind of modification that is manipulating the template cache then it might be overriding your edits in MEMBERINFO. Also, make sure you are selecting the correct "parent" style to edit. Unfortunately, the only thing I could do is use firebug to observe your style and to create those changes. So I am only seeing the exported code to my browser.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|