Add the date above the thumbnail Add the date above the thumbnail
 

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

Add the date above the thumbnail

Started by milkover, November 24, 2015, 12:11:32 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

milkover

Help-me Please!

allvip

Please post a link to your gallery so I can help you.
Also follow the bord rules Use a meaningfull subject line http://forum.coppermine-gallery.net/index.php/topic,55415.msg270613.html#msg270613

Αndré

Which date exactly should be displayed? The date it was uploaded to the gallery?

allvip

For the curve theme it goes like that:

Open themes/curve/style.css and

FIND


.thumbnails {
    background: #EFEFEF ;
    padding: 5px;
}


REPLACE WITH


.thumbnails {
    position: relative;
    background: #EFEFEF ;
    padding: 5px;
}
.thumb_caption_ctime {
position: absolute;
top: 0;
left: 0;
background-color:#38565B;
color: #FFF;
padding: 5px;
}


You can change the values for top,  left, background-color, color and padding to fit your needs.