forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: ladyjobi on May 20, 2007, 06:33:44 pm

Title: No Bold Category titles...
Post by: ladyjobi on May 20, 2007, 06:33:44 pm
Here's a link to my page: http://www.ultimatevanessa.com/gallery/index.php I am having trouble making the Category and Album titles not be seen as bold. I've tried everything I know to achieve this but for some reason I can not get it right. Help.
Title: Re: No Bold Category titles...
Post by: Joachim Müller on May 20, 2007, 07:25:04 pm
Edit http://www.ultimatevanessa.com/gallery/themes/classic/theme.php, find
Code: [Select]
// HTML template for the category list
$template_cat_list = <<<EOT
<!-- BEGIN header -->
        <tr>
                <td class="tableh1" width="80%" align="left"><b>{CATEGORY}</b></td>
                <td class="tableh1" width="10%" align="center"><b>{ALBUMS}</b></td>
                <td class="tableh1" width="10%" align="center"><b>{PICTURES}</b></td>
        </tr>
<!-- END header -->
<!-- BEGIN catrow_noalb -->
        <tr>
                <td class="catrow_noalb" colspan="3"><table border="0"><tr><td align="left">{CAT_THUMB}</td><td align="left"><span class="catlink"><b>{CAT_TITLE}</b></span>{CAT_DESC}</td></tr></table></td>
        </tr>
<!-- END catrow_noalb -->
<!-- BEGIN catrow -->
        <tr>
                <td class="catrow" align="left"><table border="0"><tr><td>{CAT_THUMB}</td><td><span class="catlink"><b>{CAT_TITLE}</b></span>{CAT_DESC}</td></tr></table></td>
                <td class="catrow" align="center">{ALB_COUNT}</td>
                <td class="catrow" align="center">{PIC_COUNT}</td>
        </tr>
        <tr>
            <td class="tableb" colspan="3">{CAT_ALBUMS}</td>
        </tr>
<!-- END catrow -->
<!-- BEGIN footer -->
        <tr>
                <td colspan="3" class="tableh1" align="center"><span class="statlink">{STATISTICS}</span></td>
        </tr>
<!-- END footer -->
<!-- BEGIN spacer -->
        <img src="images/spacer.gif" width="1" height="7" border="" alt="" /><br />
<!-- END spacer -->

EOT;
and edit as you see fit (i.e. remove the <b>/</b>-tags as you see fit). If you don't have the code-section
Code: [Select]
// HTML template for the category list
$template_cat_list = <<<EOT
[...]
in your custom theme, copy it from themes/sample/theme.php into a new line before
Code: [Select]
?>