How to Move username place in topic to center

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
avatar
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.

avatar
SLGray
Administrator
Administrator

Male Posts : 43068
Reputation : 3047
Language : English
Location : United States

https://fmthemes.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
avatar
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:
avatar
Ange Tuteur
Forumaster

Male Posts : 13195
Reputation : 2910
Language : EN10, FR5, JA5
Location : Macungie, PA

https://github.com/SethClydesdale

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
avatar
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.

avatar
SLGray
Administrator
Administrator

Male Posts : 43068
Reputation : 3047
Language : English
Location : United States

https://fmthemes.forumotion.com/

Back to top Go down

Back to top


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