forum.coppermine-gallery.net
Support => cpg1.5.x Support => cpg1.5 miscellaneous => Topic started 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
-
Please explain more detailed what exactly you want to change. A link to your gallery will also help us to help you.
-
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/)
-
The text is already aligned top left. Do you want to align the image and the text on the same vertical level?
-
Yes please - I thought I could do it by css but could not find the appropiate setting.
Thanks for your support,
Jmblr
-
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
<td align="center" valign="middle" class="thumbnails">
and replace with
<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
<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
<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.
-
Thanks, I will follow up and let you know.
BR, Joombler