forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Themes/Skins/Templates => Topic started by: MartialArtist on July 23, 2005, 02:23:40 am

Title: Need help on how to CENTER text when entering a description.
Post by: MartialArtist on July 23, 2005, 02:23:40 am
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! :)
Title: Re: Need help on how to CENTER text when entering a description.
Post by: kegobeer 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.
Title: Re: Need help on how to CENTER text when entering a description.
Post by: MartialArtist on July 23, 2005, 05:58:54 am
When it is displayed after you type in the description.

Thanks! :)
Title: Re: Need help on how to CENTER text when entering a description.
Post by: kegobeer 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>
Title: Re: Need help on how to CENTER text when entering a description.
Post by: MartialArtist on July 23, 2005, 07:34:11 am
You guys ROCK! Thanks a bunch! :)
Title: Re: Need help on how to CENTER text when entering a description.
Post by: Joachim Müller 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.