Remember me

All pictures same title for thumbnails

7 years 3 months ago #1

  • Robert's Avatar
  • Robert
  • Posts: 702
Is it possible to give all thumbnails the same title? Without of course, editing each picture!

7 years 3 months ago #2

  • Artem's Avatar
  • Artem
  • Posts: 11342
Hello,

Yes, you need to add custom CSS
.ba-image:before {
    content: 'Balbooa Joomla Gallery';
    position: absolute;
    z-index: 10000;
    color: #fff;
    font-size: 21px;
    font-weight: bold;
    bottom: 10%;
    left: 25px;
}

Results:



Regards,

7 years 3 months ago #3

  • Robert's Avatar
  • Robert
  • Posts: 702
Hi Artem,

thank you for the fast reply. Where to put this? :blush:

I would like it separat for every category. :whistle:

7 years 3 months ago #4

  • Artem's Avatar
  • Artem
  • Posts: 11342
Code you need to place into you template custom.css file

if for each category images should be own title, you need to add next code
.ba-gallery-items.category-1 .ba-image:before {
    content: 'Balbooa Joomla Gallery';
    position: absolute;
    z-index: 10000;
    color: #fff;
    font-size: 21px;
    font-weight: bold;
    bottom: 10%;
    left: 25px;
}

Where category-1 it's not a category ID from admin, is a serial number of categories that you can see with developer console, here is the screen:



Regards,

7 years 3 months ago #5

  • Robert's Avatar
  • Robert
  • Posts: 702
Hi Artem,
finally, got around to trying the first suggestion. Works like a charm, thank you!
See here...

7 years 3 months ago #6

  • Artem's Avatar
  • Artem
  • Posts: 11342
Nice idea to use it for copyrights B)

Regards,
Powered by Kunena Forum