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 Spacing & Removal of ":"

View previous topic View next topic Go down

Solved Username Spacing & Removal of ":"

Post by Jadster on January 30th 2015, 7:18 pm

Technical Details


Forum version : PunBB
Position : Founder
Concerned browser(s) : Google Chrome
Screenshot of problem : http://i38.servimg.com/u/f38/17/21/23/27/screen12.png
Who the problem concerns : All members
When the problem appeared : Just as I entered the code
Forum link : http://www.adminvortex.com

Description of problem

Hello,
I would like to know what code I would need to add to put a little space between the username and the top of the box it is inside so that it's not right against it.

Also, with the warning bar setup I have, I want to know how do I remove the ":" which is default on all labels but I cannot seem to figure out how to remove it.

Any ideas?

Jadster
Forumember

Male Posts : 659
Reputation : 78
Language : English
Location : United States

http://adminvortex.forumotion.com

Back to top Go down

Solved Re: Username Spacing & Removal of ":"

Post by Guest on January 30th 2015, 10:07 pm

@Jadster wrote:

Technical Details


Forum version : PunBB
Position : Founder
Concerned browser(s) : Google Chrome
Screenshot of problem : http://i38.servimg.com/u/f38/17/21/23/27/screen12.png
Who the problem concerns : All members
When the problem appeared : Just as I entered the code
Forum link : http://www.adminvortex.com

Description of problem

Hello,
I would like to know what code I would need to add to put a little space between the username and the top of the box it is inside so that it's not right against it.

Also, with the warning bar setup I have, I want to know how do I remove the ":" which is default on all labels but I cannot seem to figure out how to remove it.

Any ideas?

For the username I've got the code in phpBB3, don't know if it works in pun as well:

Code:
.postprofile dd, .postprofile dt {line-height: 1.2em;text-align: center;}

And for the : isn't that in your profile field? Do you see the same when trying another browser? I know IE doesn't display those fields right sometimes.

Guest
Guest


Back to top Go down

Solved Re: Username Spacing & Removal of ":"

Post by SLGray on January 30th 2015, 11:21 pm

punBB and phpBB 3 have different CSS selectors.


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 35627
Reputation : 2372
Language : English
Location : United States

http://fmthemes.forumotion.com/

Back to top Go down

Solved Re: Username Spacing & Removal of ":"

Post by Guest on January 30th 2015, 11:30 pm

@SLGray wrote:punBB and phpBB 3 have different CSS selectors.

From what I've seen in his picture he probably already knows what selector to use, because he modified it to center it. Just add the "line-height: 1.2em" to it, that's all.

Guest
Guest


Back to top Go down

Solved Re: Username Spacing & Removal of ":"

Post by Ange Tuteur on January 31st 2015, 12:46 am

Hi @Jadster,

For the profile name, use this CSS rule :
Code:
.post .user-ident span.uname { display:inline-block; margin-top:6px }

For your warning, try this rule :
Code:
.user-wrap .label { display:none }

Ange Tuteur
Forumaster

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

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Username Spacing & Removal of ":"

Post by Jadster on January 31st 2015, 9:37 pm

Thank you @Ange Tuteur for those! They worked perfectly!

-James

Jadster
Forumember

Male Posts : 659
Reputation : 78
Language : English
Location : United States

http://adminvortex.forumotion.com

Back to top Go down

Solved Re: Username Spacing & Removal of ":"

Post by Ange Tuteur on February 1st 2015, 12:29 am

You're welcome Mr. Green

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