Lining in front page Lining in front page
 

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]

Main Menu

Lining in front page

Started by joombler, May 19, 2013, 05:08:49 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

joombler

Can someone tell me where I can find how to change the lining of both image and text column (left - top)?
Thanks, Jmblr

Αndré

Please explain more detailed what exactly you want to change. A link to your gallery will also help us to help you.

joombler

What I would like to do is aligning the image and the text on <top><left>
Pls see https://www.cloudzeeland.nl/albums1522/

Αndré

The text is already aligned top left. Do you want to align the image and the text on the same vertical level?

joombler

Yes please - I thought I could do it by css but could not find the appropiate setting.

Thanks for your support,
Jmblr

Αndré

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.

joombler

Thanks, I will follow up and let you know.

BR, Joombler