Mon. - Fri. 9 am - 5 pm Ask a Question
Remember me

Album mode caption visibility

4 years 5 months ago #1

  • Denis's Avatar
  • Denis
  • Posts: 15
Hi,

Is there a way to have the titles and number of photos on albums thumbnails always visible instead of appearing only on hover like we could a couple of versions ago? The thing is it's OK on a PC but on à mobile device, there is no "hover" function... would be nicer for users on phones to see the tittles on albums right off the bat.

I would like to do something like on this site I built and it was using version 1.4.1 of Gallery : noblec.webgraphx.ca/notre-elevage/nos-reproducteurs but now, I'm unable to obtain this with version 1.5.3

Thanks in advance for the help.

Regards,

Denis.

4 years 5 months ago #2

  • Denis's Avatar
  • Denis
  • Posts: 15
Never mind... I managed to achieve it with a little custom CSS override...
.ba-album.css-style-1 .ba-caption {
    height: 100%;
    opacity: 1;
    overflow: hidden;
    position: absolute;
    top: 60%;
    transition: all 0.4s 0s ease-in-out;
    -webkit-transition: all 0.4s 0s ease-in-out;
    -moz-transition: all 0.4s 0s ease-in-out;
    -o-transition: all 0.4s 0s ease-in-out;
    width: 100%;
    z-index: 1;
}

.ba-caption-content h3 {
    line-height: 25%;
    padding: 0;
    margin-top: -35%!important;
}

4 years 5 months ago #3

  • Artem's Avatar
  • Artem
  • Posts: 8824
Hi,

Sorry for the late reply, weekends B)
You did a great job!

Thanks,
Artem
Powered by Kunena Forum