forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 miscellaneous => Topic started by: joombler on May 19, 2013, 05:08:49 pm

Title: Lining in front page
Post by: joombler on May 19, 2013, 05:08:49 pm
Can someone tell me where I can find how to change the lining of both image and text column (left - top)?
Thanks, Jmblr
Title: Re: Lining in front page
Post by: Αndré on May 21, 2013, 11:40:58 am
Please explain more detailed what exactly you want to change. A link to your gallery will also help us to help you.
Title: Re: Lining in front page
Post by: joombler on May 21, 2013, 02:14:28 pm
What I would like to do is aligning the image and the text on <top><left>
Pls see https://www.cloudzeeland.nl/albums1522/ (https://www.cloudzeeland.nl/albums1522/)
Title: Re: Lining in front page
Post by: Αndré on May 21, 2013, 02:23:16 pm
The text is already aligned top left. Do you want to align the image and the text on the same vertical level?
Title: Re: Lining in front page
Post by: joombler on May 21, 2013, 03:30:54 pm
Yes please - I thought I could do it by css but could not find the appropiate setting.

Thanks for your support,
Jmblr
Title: Re: Lining in front page
Post by: Αndré on May 21, 2013, 04:25:38 pm
Copy the sections $template_album_list and $template_album_list_cat from themes/sample/theme.php to your theme's theme.php file, if they don't exist. Then, find
Code: [Select]
<td align="center" valign="middle" class="thumbnails">and replace with
Code: [Select]
<td align="center" valign="top" class="thumbnails">in both sections.

Now you have to match the margin of the image (img) and the paragraph (p). If you don't want to change this globally but just for this special purpose, find
Code: [Select]
<img src="images/spacer.gif" width="{THUMB_CELL_WIDTH}" height="1" style="margin-top: 0px; margin-bottom: 0px; border: none;" alt="" /><br />and replace with
Code: [Select]
<img src="images/spacer.gif" width="{THUMB_CELL_WIDTH}" height="1" style="margin-top: 15px; margin-bottom: 0px; border: none;" alt="" /><br />in both sections.
Title: Re: Lining in front page
Post by: joombler on May 26, 2013, 07:58:24 pm
Thanks, I will follow up and let you know.

BR, Joombler