forum.coppermine-gallery.net

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: qvdepot on October 01, 2004, 01:02:12 am

Title: Left-Justify Thumbnail Description/Comment Text?
Post by: qvdepot on October 01, 2004, 01:02:12 am
Greetings,

I'm seeking help/advice on how to align the comment/description text to the left, rather than the default "centered" setting. Examples below.

The first graphic displays the default seetings. The second graphic (edited for display here) shows the text aligned to the left. Please explain where I may find the code to modify this issue.

Thank you,

QV
Title: Re: Left-Justify Thumbnail Description/Comment Text?
Post by: Casper on October 01, 2004, 01:49:53 am
You have already modified your gallery, as this is not a usual view of  a thumbnail.
But what you want is in the theme.php.  Look for
Code: [Select]
HTML template for thumbnails display
Title: Re: Left-Justify Thumbnail Description/Comment Text?
Post by: qvdepot on October 01, 2004, 11:09:54 am
Thank you for your prompt response.

No, I hadn't modified the code at the time. The example image you see was edited in paint to show what I was looking to accomplish. I have since edited the code and removed the *center* tag, but that removes ALL centering within the TD cell. I'm interested in keeping the thumbnail and title centered, but aligning the description text to the left.

Is this possible? Please detail if so.

Thanks again!
QV

Title: Re: Left-Justify Thumbnail Description/Comment Text?
Post by: chowdhury on February 06, 2009, 11:28:38 pm
move to the tag described in the previous post (search using ctrl+F) and change align="left" in the following code:
Code: [Select]
<td valign="top" class="thumbnails" width ="{CELL_WIDTH}" align="center">
                <table width="100%" cellpadding="0" cellspacing="0">
                        <tr>
                                <td align="center">
                                        <a href="{LINK_TGT}">{THUMB}<br /></a>
                                        <p align="left">{CAPTION}</p>
                                        {ADMIN_MENU}
                                </td>
                        </tr>
                </table>
        </td>
Title: Re: Left-Justify Thumbnail Description/Comment Text?
Post by: Joachim Müller on February 11, 2009, 09:54:52 am
This thread is outdated. In fact, the entire sub-board is outdated. You're not suppossed to post here, as it only exists for reference. Locking.