Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Add the date above the thumbnail  (Read 4031 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.027 seconds with 19 queries.