Number of page below on thumbnails.php Number of page below on thumbnails.php
 

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

Number of page below on thumbnails.php

Started by misscc, November 29, 2007, 09:15:27 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

misscc

Hi! I am trying to find a way to make the number of page (1 2 3 4 5) below the thumbnails page bigger and centered.
Perhaps I don't want any other links to be bigger just these.

I have been looking around the forum before but can't find anything related.

Please let me know, thanks.

Joachim Müller

edit themes/yourtheme/theme.php, find$template_tab_displayand edit as you see fit. If that section doesn't exist in your custom theme, copy// Template used for tabbed display
$template_tab_display = array('left_text' => '<td width="100%%" align="left" valign="middle" class="tableh1_compact" style="white-space: nowrap"><b>{LEFT_TEXT}</b></td>' . "\n",
    'tab_header' => '',
    'tab_trailer' => '',
    'active_tab' => '<td><img src="images/spacer.gif" width="1" height="1" alt="" /></td>' . "\n" . '<td align="center" valign="middle" class="tableb_compact"><b>%d</b></td>',
    'inactive_tab' => '<td><img src="images/spacer.gif" width="1" height="1" alt="" /></td>' . "\n" . '<td align="center" valign="middle" class="navmenu"><a href="{LINK}"><b>%d</b></a></td>' . "\n",
    'inactive_prev_tab' => '<td><img src="images/spacer.gif" width="1" height="1" alt="" /></td>' . "\n" . '<td align="center" valign="middle" class="navmenu"><a href="{LINK}"><b>{PREV}</b></a></td>' . "\n",
    'inactive_next_tab' => '<td><img src="images/spacer.gif" width="1" height="1" alt="" /></td>' . "\n" . '<td align="center" valign="middle" class="navmenu"><a href="{LINK}"><b>{NEXT}</b></a></td>' . "\n",
);
from themes/sample/theme.php into a new line before?>of the file themes/yourtheme/theme.php

You might want to edit themes/yourtheme/style.css as well to change the styles.