Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Need help on how to CENTER text when entering a description.  (Read 3287 times)

0 Members and 1 Guest are viewing this topic.

MartialArtist

  • Coppermine newbie
  • Offline Offline
  • Posts: 4

Hello again,

Can someone show me how to make the text CENTER when you enter a description for a image or video file? It doesn't look right being all the way to the left side instead of being centered.

Thanks! :)
« Last Edit: July 23, 2005, 02:14:16 pm by kegobeer »
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Need help on how to CENTER text when entering a description.
« Reply #1 on: July 23, 2005, 05:07:20 am »

You want the block where you actually type in the description (in editpics.php) to be centered?  Or are you talking about when the description is displayed under the intermediate image?

Also, don't edit your original post after you solve this problem - it makes the entire thread little help to others.
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

MartialArtist

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Need help on how to CENTER text when entering a description.
« Reply #2 on: July 23, 2005, 05:58:54 am »

When it is displayed after you type in the description.

Thanks! :)
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Need help on how to CENTER text when entering a description.
« Reply #3 on: July 23, 2005, 06:07:39 am »

In theme.php, find

Code: [Select]
$template_display_picture = <<<EOT
change

Code: [Select]
<td>
     {CAPTION}
</td>

to

Code: [Select]
<td align="center">
     {CAPTION}
</td>
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

MartialArtist

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Need help on how to CENTER text when entering a description.
« Reply #4 on: July 23, 2005, 07:34:11 am »

You guys ROCK! Thanks a bunch! :)
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Need help on how to CENTER text when entering a description.
« Reply #5 on: July 24, 2005, 09:13:29 am »

please go to the other thread that you rendered useless by editing your question and try to restore your question as good as you can.
Logged
Pages: [1]   Go Up
 

Page created in 0.033 seconds with 21 queries.