Lining in front page Lining in front page
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

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