The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Username center

5 posters

Go down

Solved Username center

Post by Glavee December 27th 2014, 11:13 pm

Hi!

I would like to positionate my Username (in topics) on the center of the profile. I tried to use <center><h4 class="username">{postrow.displayed.ONLINE_IMG}{postrow.displayed.POSTER_NAME}</h4></center> but it doesn't work (but it works for avatar and rank).

Can you help me with that please?

Thank you!

Username center Untitl11


Last edited by Glavee on December 28th 2014, 1:17 pm; edited 1 time in total
Glavee
Glavee
Forumember

Posts : 149
Reputation : 1
Language : English

http://1point.forumstech.com/

Back to top Go down

Solved Re: Username center

Post by _Twisted_Mods_ December 28th 2014, 1:53 am

css

Code:
.postprofile dt,.postprofile strong a, .postprofile span,  .postprofile dd{text-align:center!important;margin-left:auto!important; margin-right:auto!important;width: 90%;}
.postprofile dd img{margin-left:10%; margin-right:10%!important;}
_Twisted_Mods_
_Twisted_Mods_
Helper
Helper

Male Posts : 2108
Reputation : 336
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

Solved Re: Username center

Post by Eugeo Igvalt December 28th 2014, 2:04 am

needed this too. Thank you.
Eugeo Igvalt
Eugeo Igvalt
Forumember

Male Posts : 289
Reputation : 17
Language : EN, SPA
Location : Puerto Rico

http://www.NewbForums.com

Back to top Go down

Solved Re: Username center

Post by Glavee December 28th 2014, 2:38 am

_Twisted_Mods_ wrote:css

Code:
.postprofile dt,.postprofile strong a, .postprofile span,  .postprofile dd{text-align:center!important;margin-left:auto!important; margin-right:auto!important;width: 90%;}
.postprofile dd img{margin-left:10%; margin-right:10%!important;}

@_Twisted_Mods_ It doesn't work. Nothing happened.

Do you need my viewtopic_body or css?
Glavee
Glavee
Forumember

Posts : 149
Reputation : 1
Language : English

http://1point.forumstech.com/

Back to top Go down

Solved Re: Username center

Post by _Twisted_Mods_ December 28th 2014, 2:54 am

sorry for wrong version

Code:
.postbody .username,.pun .user .user-info{
 text-align: center;
  width:100%
}
_Twisted_Mods_
_Twisted_Mods_
Helper
Helper

Male Posts : 2108
Reputation : 336
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

Solved Re: Username center

Post by SarkZKalie December 28th 2014, 8:12 am

Search and replace .pun .user-ident .username in your CSS or add a new one
Code:
.pun .user-ident .username {
color: #00569c;
display: block;
font-size: 1.2em;
font-weight: 700;
position: relative !important; /* absolute is default */
text-decoration: none;
top: 0px;
text-align: center !important;
}
SarkZKalie
SarkZKalie
Support Moderator
Support Moderator

Male Posts : 1418
Reputation : 220
Language : English

https://rotavn.forumotion.com/

Back to top Go down

Solved Re: Username center

Post by Glavee December 28th 2014, 12:02 pm

It worked @_Twisted_Mods_ but he moved the entire profile, not just the username. I want just the username.

@sarkzkalie01 It worked, but not at all. I have a space over the username. Look:

Username center 647i10
Glavee
Glavee
Forumember

Posts : 149
Reputation : 1
Language : English

http://1point.forumstech.com/

Back to top Go down

Solved Re: Username center

Post by Glavee December 28th 2014, 1:15 pm

I changed a bit @_Twisted_Mods_ 's code, and now it works!

Here's the code:

Code:
.postbody .username{
 text-align: center;
  width:100%
}
Glavee
Glavee
Forumember

Posts : 149
Reputation : 1
Language : English

http://1point.forumstech.com/

Back to top Go down

Solved Re: Username center

Post by Ange Tuteur December 28th 2014, 6:00 pm

Thanks for the help guys.

Topic archived
Ange Tuteur
Ange Tuteur
Forumaster

Male Posts : 13246
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum