The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

How to Move username place in topic to center

3 posters

Go down

Solved How to Move username place in topic to center

Post by Abdalah_98 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
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 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>


How to Move username place in topic to center Slgray10

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

Male Posts : 51463
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

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

Post by Abdalah_98 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
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 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
Ange Tuteur
Forumaster

Male Posts : 13246
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

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

Post by Abdalah_98 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
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 May 17th 2016, 12:04 am

Topic solved and archived


How to Move username place in topic to center Slgray10

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

Male Posts : 51463
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Back to top

- Similar topics

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