coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: dwo on May 21, 2008, 11:28:32 PM

Title: [Solved]: reducing size of tableh1_compact to optimize tab display
Post by: dwo on May 21, 2008, 11:28:32 PM
Hello.

I removed the Text before the tabs in thumbnail view with using the theme.php

// Template used for tabbed display
if (!isset($template_tab_display)) { //{THEMES}
$template_tab_display = array('left_text' => '<td width="100%%" align="right" valign="middle" class="tableh1_compact" style="white-space: nowrap"><b></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",
);
}
}  //{THEMES}


Now, I have only the tabs displayed, to the left.

As I have the tabs on top of the page, I want to reduce the width of the small table which covers the tabs to the size of the tabs to the left.

I have found out, that the table is called "tableh1_compact" in the CSS.

I can change the color etc. but I cannot change the size.

Could anyone help me? Thank You.

Regards, Dietmar
Title: Re: reducing size of tableh1_compact to optimize tab display
Post by: Joachim Müller on May 22, 2008, 10:15:50 AM
Post a link to your gallery for a start.
Title: Re: reducing size of tableh1_compact to optimize tab display
Post by: dwo on May 22, 2008, 02:12:11 PM
Hi.

solved, (at least for me)

I did simply change the color of table1 and the color of the border of the maintable in the css.

I am sorry that I cannot post the enitre gallery, because it is work in progress, not online yet and the one who pays me doesnt want to see it online now. I hope you understand.

Here is a glimpse of it. The thumbnail view. The thumb squares on which the thumbs are, are seperated through the same color.

[Edit GauGau] Replaced hotlinked image with attachment [/Edit]

Thank you for supporting me.
Title: Re: reducing size of tableh1_compact to optimize tab display
Post by: Joachim Müller on May 22, 2008, 02:25:14 PM
Well, as you solved your issue I don't care for the missing link, but if you need help again, post a link with your support request.