Change table width of everything below filmstrip Change table width of everything below filmstrip
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

Change table width of everything below filmstrip

Started by wayfarer, November 14, 2004, 12:16:27 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

wayfarer

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?

Joachim Müller

in themes/yourtheme/theme.php, findfunction theme_display_image($nav_menu, $picture, $votes, $pic_info, $comments, $film_strip)and change the code that starts tables, e.g. starttable(); in    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 starttable('60%');(not tested though, but worth a try).

Joachim

wayfarer

Worked beautifully! Thanks for the point in the right direction. :)