Advanced search  

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

Pages: [1]   Go Down

Author Topic: [Solved]: reducing size of tableh1_compact to optimize tab display  (Read 2817 times)

0 Members and 1 Guest are viewing this topic.

dwo

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 143

Hello.

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

Code: [Select]
// 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
« Last Edit: May 22, 2008, 02:26:22 pm by Joachim Müller »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: reducing size of tableh1_compact to optimize tab display
« Reply #1 on: May 22, 2008, 10:15:50 am »

Post a link to your gallery for a start.
Logged

dwo

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 143
Re: reducing size of tableh1_compact to optimize tab display
« Reply #2 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.
« Last Edit: May 22, 2008, 02:26:04 pm by Joachim Müller »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: reducing size of tableh1_compact to optimize tab display
« Reply #3 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.
Logged
Pages: [1]   Go Up
 

Page created in 0.024 seconds with 19 queries.