Pagina 1 din 1

Nume şi ranguri pe centru (sub avatar)

Scris: 13-Iun-2016, 00:39:27
de Zippe
Salut, cum pot să fac să fie rangurile şi numele utilizatorilor în centru (sub avatar)?
Momentan, la mine pe forum sunt aşa: http://imgur.com/ID3QfKk

Re: Nume şi ranguri pe centru (sub avatar)

Scris: 13-Iun-2016, 15:18:53
de SSebastian
Postează aici link-ul către forum.

Re: Nume şi ranguri pe centru (sub avatar)

Scris: 13-Iun-2016, 19:16:30
de Zippe
http://eclime-romania.esy.es/
Dar am pus poza, nu prea este nevoie

Re: Nume şi ranguri pe centru (sub avatar)

Scris: 13-Iun-2016, 22:53:26
de Dragosvr92
Nu te poate ajuta nimeni doar din poza. Este nevoie sa vedem codul paginii. Eu nu mi dau seama ce vrei sa faci. Rank ul si numele de utilizator apar sub avatar. Vrei sa le pui in centru? E dificil si nu i vad rostul.

Arata bine asa cum este.

Re: Nume şi ranguri pe centru (sub avatar)

Scris: 17-Iun-2016, 19:30:27
de Răzvaan
Zippe scrie:Salut, cum pot să fac să fie rangurile şi numele utilizatorilor în centru (sub avatar)?
Momentan, la mine pe forum sunt aşa: http://imgur.com/ID3QfKk
Incearca asa, intra in styles/tema ta/template si deschide viewtopic_body.html si cauta:

Cod: Selectaţi tot

<!-- EVENT viewtopic_body_post_author_before -->
Sub adauga [center] si mai jos de:

Cod: Selectaţi tot

<!-- IF not postrow.U_POST_AUTHOR --><strong>{postrow.POST_AUTHOR_FULL}</strong><!-- ELSE -->{postrow.POST_AUTHOR_FULL}<!-- ENDIF -->
Adauga [/center]
Acum cauta

Cod: Selectaţi tot

 <!-- EVENT viewtopic_body_postrow_rank_before -->
Sub adauga [center] si mai jos de:

Cod: Selectaţi tot

<!-- IF postrow.RANK_TITLE or postrow.RANK_IMG --><dd class="profile-rank">{postrow.RANK_TITLE}<!-- IF postrow.RANK_TITLE and postrow.RANK_IMG --><br /><!-- ENDIF -->{postrow.RANK_IMG}</dd><!-- ENDIF -->
Adauga [/center]
Si ar trebuii sa arate cam asa:
https://s32.postimg.org/lwk6ikp85/Screenshot_15.png
P.S: Daca a functionat, lasa un reply

Re: Nume şi ranguri pe centru (sub avatar)

Scris: 17-Iun-2016, 21:14:15
de Dragosvr92
[center] este un BBCod. Trebuie folosit <center> (<=asta i html).

Doar ca tag ul <center> nu mai este recomandat. in loc se foloseste css gen:

Cod: Selectaţi tot

<span style="text-align:center">continut</span> 
In imagine vad ca il ai corect.

Re: Nume şi ranguri pe centru (sub avatar)

Scris: 17-Iun-2016, 23:33:58
de Răzvaan
Dragosvr92 scrie:[center] este un BBCod. Trebuie folosit <center> (<=asta i html).

Doar ca tag ul <center> nu mai este recomandat. in loc se foloseste css gen:

Cod: Selectaţi tot

<span style="text-align:center">continut</span> 

In imagine vad ca il ai corect.
Da <center> din obisnuinta am pus cu [] dar in poza arata cum trebuie, este folosit si <center> eu cu el centrez si nu am probleme

Re: Nume şi ranguri pe centru (sub avatar)

Scris: 18-Iun-2016, 03:18:31
de Dragosvr92
Răzvaan scrie: Da <center> din obisnuinta am pus cu [] dar in poza arata cum trebuie, este folosit si <center> eu cu el centrez si nu am probleme
https://www.google.ro/#q=center+tag+deprecated
http://www.w3schools.com/tags/tag_center.asp
Tag ul nu mai este recomandat de ani de zile, de cand a aparut HTML5. O sa iti cauzeze doar erori.
Dar daca vrei sa iti modifici forumul rapid si nu ti pasa de reguli si calitate, poti sa folosesti si <center>.