The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Username center

View previous topic View next topic Go down

Solved Username center

Post by Glavee on 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!



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

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_ on 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_
Helper
Helper

Male Posts : 2020
Reputation : 299
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

Solved Re: Username center

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

needed this too. Thank you.

Eugeo Igvalt
Forumember

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

http://www.NewbForums.com

Back to top Go down

Solved Re: Username center

Post by Glavee on 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
Forumember

Posts : 149
Reputation : 1
Language : English

http://1point.forumstech.com/

Back to top Go down

Solved Re: Username center

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

sorry for wrong version

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

_Twisted_Mods_
Helper
Helper

Male Posts : 2020
Reputation : 299
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

Solved Re: Username center

Post by SarkZKalie on 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
Forumember

Male Posts : 419
Reputation : 74
Language : English

http://rotavn.nstars.org/

Back to top Go down

Solved Re: Username center

Post by Glavee on 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:


Glavee
Forumember

Posts : 149
Reputation : 1
Language : English

http://1point.forumstech.com/

Back to top Go down

Solved Re: Username center

Post by Glavee on 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
Forumember

Posts : 149
Reputation : 1
Language : English

http://1point.forumstech.com/

Back to top Go down

Solved Re: Username center

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

Thanks for the help guys.

Topic archived

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2683
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

View previous topic View next topic Back to top


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