Advanced search  

News:

cpg1.5.46 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter recently discovered vulnerabilities. It is important that all users who run version cpg1.5.44 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Lining in front page  (Read 2168 times)

0 Members and 1 Guest are viewing this topic.

joombler

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 30
Lining in front page
« 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
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15369
Re: Lining in front page
« Reply #1 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.
Logged

joombler

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 30
Re: Lining in front page
« Reply #2 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/
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15369
Re: Lining in front page
« Reply #3 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?
Logged

joombler

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 30
Re: Lining in front page
« Reply #4 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
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15369
Re: Lining in front page
« Reply #5 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.
Logged

joombler

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 30
Re: Lining in front page
« Reply #6 on: May 26, 2013, 07:58:24 pm »

Thanks, I will follow up and let you know.

BR, Joombler
Logged
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 22 queries.