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: Change table width of everything below filmstrip  (Read 3549 times)

0 Members and 1 Guest are viewing this topic.

wayfarer

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
Change table width of everything below filmstrip
« on: November 14, 2004, 12:16:27 am »

Hi Everyone,

I need to change the table width of everything below the filmstrip (comment, picinfo, ratings etc) to 70%. I have my main table set to 96% in the config area, but cannot figure out how to change just the above, while leaving everything else to obey the width that config sets it as... I have looked in theme.php and template.php and made all sorts of replacements, but none of them seem to affect this value exclusively.

What code/page controls the table size for this?
« Last Edit: November 20, 2004, 09:54:22 am by GauGau »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Change table width of everything below filmstrip
« Reply #1 on: November 14, 2004, 01:33:03 pm »

in themes/yourtheme/theme.php, find
Code: [Select]
function theme_display_image($nav_menu, $picture, $votes, $pic_info, $comments, $film_strip)and change the code that starts tables, e.g. starttable(); in
Code: [Select]
    starttable();
    echo $votes;
    endtable();
. The function starttable can be called with or without parameters, the first parameter being the width, so you could modify it to
Code: [Select]
starttable('60%');(not tested though, but worth a try).

Joachim
Logged

wayfarer

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
Re: Change table width of everything below filmstrip
« Reply #2 on: November 20, 2004, 09:26:48 am »

Worked beautifully! Thanks for the point in the right direction. :)
Logged
Pages: [1]   Go Up
 

Page created in 0.025 seconds with 19 queries.