forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 themes (visuals) => Topic started by: milkover on November 24, 2015, 12:11:32 am

Title: Add the date above the thumbnail
Post by: milkover on November 24, 2015, 12:11:32 am
Help-me Please!
Title: Re: Add the date above the thumbnail
Post by: allvip on November 24, 2015, 11:57:06 am
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 (http://forum.coppermine-gallery.net/index.php/topic,55415.msg270613.html#msg270613)
Title: Re: Add the date above the thumbnail
Post by: Αndré on November 24, 2015, 12:14:28 pm
Which date exactly should be displayed? The date it was uploaded to the gallery?
Title: Re: Add the date above the thumbnail
Post by: allvip on November 28, 2015, 03:41:07 pm
For the curve theme it goes like that:

Open themes/curve/style.css and

FIND

Code: [Select]
.thumbnails {
    background: #EFEFEF ;
    padding: 5px;
}

REPLACE WITH

Code: [Select]
.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.