TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

May 18, 2024, 07:49:03 PM

Login with username, password and session length
Members
  • Total Members: 3,886
  • Latest: Grendor
Stats
  • Total Posts: 195,189
  • Total Topics: 21,220
  • Online today: 112
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 0
  • Guests: 67
  • Total: 67

Centrar Titulos

Started by vanstygma, September 24, 2007, 04:06:05 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

vanstygma

Holas a Todos!

Mi Pregunta es sencilla : Como hago para centrar los titulos de los bloques ? Es que veo que quedan hacia un costado izquierdo y me gustaria verlos en el centro , que tendria que editar ?


Muchisimas Gracias!

Reality12

<center>titulo aquí</center>

vanstygma

Gracias , pero no esta etiqueta no funciona ni siquiera en bbcode. ( Pruebenla en su TP y me dicen :P ) Creo q es algo mas del inde.template.php , pero no se en que parte.

Reality12

A mi me funciona bien, pero no sé como cambiarlo asi como deceas.

¿Quieres que les pregunte como se cambia permanentemente?

vanstygma

Si señor , si no es mucha molestia y muchisimas Gracias =)

Reality12

TP Team:

I'm not sure if you want to split this topic, since I'm now going to translate the main thing about this conversation, and it'll be for English Support not Spanish (International)...

Since I don't know how to do what is being asked, I'll come back and translate what you suggest.

The main question here is now how to center the block titles - permanently.

I've already explained the <center></center> option, but the individual asking, wants to know what code needs to be modified, where is it, and how can we make the titles in any block - centered - automatically.

There's got to be an modification we can make somewhere (I would think), but I've got no clue. I did a search here too, but couldn't find anything related.

How do we proceed? Any and all help is greatly appreciated.

Reality12


Reality12

hey guys (and girls)? can you advise on what code needs to be modified to center block titles automatically?

IchBin

TPortalBlocks.template.php search for:
echo $block['title'],'

Add your center tags to the code and see if it works.
echo '<center>',$block['title'],'</center>

Reality12

that easy huh? :D LoL

thank you IchBinâ,,¢!  :coolsmiley: