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.

How to Move username place in topic to center

View previous topic View next topic Go down

Solved How to Move username place in topic to center

Post by Abdalah_98 on May 16th 2016, 2:23 am

Hello, i tried to change name place to middle but wan't to change

what the edit for this code :

Code:
<h4 class="username" >{postrow.displayed.POSTER_NAME}</h4>

To make it show in middle ?

Version : Punbb Exclamation


Last edited by Abdalah_98 on May 16th 2016, 11:47 pm; edited 3 times in total

Abdalah_98
Forumember

Male Posts : 32
Reputation : 1
Language : EN,AR
Location : Earth :D

http://uteach.forum0.net/

Back to top Go down

Solved Re: How to Move username place in topic to center

Post by SLGray on May 16th 2016, 4:17 am

Please change the title of your topic to something that is related to your question/issue, so that other users will be able to find their question/issue using the search engine.
Code:
<center><h4 class="username" >{postrow.displayed.POSTER_NAME}</h4></center>


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


SLGray
Administrator
Administrator

Male Posts : 36697
Reputation : 2445
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

Solved Re: How to Move username place in topic to center

Post by Abdalah_98 on May 16th 2016, 7:37 am

@SLGray wrote:Please change the title of your topic to something that is related to your question/issue, so that other users will be able to find their question/issue using the search engine.
Code:
<center><h4 class="username" >{postrow.displayed.POSTER_NAME}</h4></center>

Thanks for your help but didn't work Exclamation Question

Abdalah_98
Forumember

Male Posts : 32
Reputation : 1
Language : EN,AR
Location : Earth :D

http://uteach.forum0.net/

Back to top Go down

Solved Re: How to Move username place in topic to center

Post by Ange Tuteur on May 16th 2016, 5:02 pm

Hi @Abdalah_98,

On PunBB the username is positioned absolutely, so you need to change its position to static. Add the following CSS rule to your stylesheet :
Display > Colors > CSS stylesheet
Code:
.pun .user-ident .username {
  position:static;
}
( This should center your name considering you added SLGray's modification )

If any problems let us know.

Have a good day. :rose:

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: How to Move username place in topic to center

Post by Abdalah_98 on May 16th 2016, 11:36 pm

@Ange Tuteur wrote:Hi @Abdalah_98,

On PunBB the username is positioned absolutely, so you need to change its position to static. Add the following CSS rule to your stylesheet :
Display > Colors > CSS stylesheet
Code:
.pun .user-ident .username {
  position:static;
}
( This should center your name considering you added SLGray's modification )

If any problems let us know.

Have a good day. :rose:

Thats make it work Very Happy

Thanks you very much to you and to SLgray's Very good

my best wishes

Abdalah_98
Forumember

Male Posts : 32
Reputation : 1
Language : EN,AR
Location : Earth :D

http://uteach.forum0.net/

Back to top Go down

Solved Re: How to Move username place in topic to center

Post by SLGray on May 17th 2016, 12:04 am

Topic solved and archived


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


SLGray
Administrator
Administrator

Male Posts : 36697
Reputation : 2445
Language : English
Location : United States

http://ztwds.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