Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Add the date above the thumbnail  (Read 4032 times)

0 Members and 1 Guest are viewing this topic.

milkover

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Add the date above the thumbnail
« on: November 24, 2015, 12:11:32 am »

Help-me Please!
« Last Edit: November 24, 2015, 11:56:43 am by allvip »
Logged

allvip

  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Posts: 1362
Re: Add the date above the thumbnail
« Reply #1 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
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Add the date above the thumbnail
« Reply #2 on: November 24, 2015, 12:14:28 pm »

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

allvip

  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Posts: 1362
Re: Add the date above the thumbnail
« Reply #3 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.
Logged
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 20 queries.