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, 6: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, 8:17 am; edited 1 time in total
avatar
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 27th 2014, 8:53 pm

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;}
avatar
_Twisted_Mods_
Helper
Helper

Male Posts : 2032
Reputation : 302
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

Solved Re: Username center

Post by Eugeo Igvalt on December 27th 2014, 9:04 pm

needed this too. Thank you.
avatar
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 on December 27th 2014, 9:38 pm

@_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?
avatar
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 27th 2014, 9:54 pm

sorry for wrong version

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

Male Posts : 2032
Reputation : 302
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

Solved Re: Username center

Post by SarkZKalie on December 28th 2014, 3: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;
}
avatar
SarkZKalie
Forumember

Male Posts : 514
Reputation : 82
Language : English

http://rotavn.nstars.org/

Back to top Go down

Solved Re: Username center

Post by Glavee on December 28th 2014, 7:02 am

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:

avatar
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, 8:15 am

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

Here's the code:

Code:
.postbody .username{
text-align: center;
width:100%
}
avatar
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, 1:00 pm

Thanks for the help guys.

Topic archived
avatar
Ange Tuteur
Forumaster

Male Posts : 13083
Reputation : 2758
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