How to change this small section of colour? (screenshot) How to change this small section of colour? (screenshot)
 

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

How to change this small section of colour? (screenshot)

Started by The Old Man, September 14, 2004, 08:12:29 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

The Old Man

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://coppermine-gallery.com/forum/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.

Casper

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.
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

The Old Man

Many thanks for the speedy reply. Much appreciated.

Regards,
Graham.