forum.coppermine-gallery.net
Support => cpg1.3.x Support => Older/other versions => cpg1.3 Themes/Skins/Templates => Topic started by: The Old Man on September 14, 2004, 08:12:29 pm
-
Hi,
I have successfully skinned my Image Gallery but can't see any Class or ID tags for the two small sections that appear under a photo. Please see the the two areas marked red in this screenshot:
(https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fwww.sarahjaneredmond.com%2Fimg%2Fwhitespaces.png&hash=7efbdfba4333ada0da86997b93a179294c66f86f)
There is actually descriptive text of the image in the white space but as I'm using white elesewhere its invisible (white on white). I need to change the two sections if anyone knows how.
Many thanks,
Graham.
-
open your theme.php, find this code and edit accordingly;
<!-- BEGIN img_desc -->
<table cellpadding="0" cellspacing="0" class="img_caption_table">
<!-- BEGIN title -->
<tr>
<th>
{TITLE}
</th>
</tr>
<!-- END title -->
<!-- BEGIN caption -->
<tr>
<td>
{CAPTION}
</td>
</tr>
<!-- END caption -->
As you see the table is classed img_caption_table.
-
Many thanks for the speedy reply. Much appreciated.
Regards,
Graham.