Balbooa Gallery Update

Balbooa Gallery 2.3.2 Released With Joomla 4 Compatibility
Mon. - Fri. 9 am - 5 pm Ask a Question
Remember me

Displaying Title in centre

6 months 3 weeks ago #1

  • Klaus's Avatar
  • Klaus
  • Posts: 51
Hello,

we would like to add a centered title for pictures in gallery.

How can we manage this?


aq-architekt.agentur-komet.de/projekte

Best regrads,
Klaus

6 months 3 weeks ago #2

  • Vyacheslav's Avatar
  • Vyacheslav
  • Posts: 18042
Hello,
Thank you for contacting us

Where exactly should it be placed?
centered on the screen?

Regards,
Vyacheslav, Balbooa.com

6 months 3 weeks ago #3

  • Klaus's Avatar
  • Klaus
  • Posts: 51
Hello,

centered at the bottom on the picture.

6 months 3 weeks ago #4

  • Vyacheslav's Avatar
  • Vyacheslav
  • Posts: 18042
This can only be done using custom css code.
Sample code
@media (min-width: 1025px){
	.gallery-modal .ba-modal-header .modal-title {
	    position: fixed;
	    bottom: 0;
	    left: 50vw;
	    transform: translateX(-50%);
	}
}

Regards,
Vyacheslav, Balbooa.com

6 months 3 weeks ago #5

  • Klaus's Avatar
  • Klaus
  • Posts: 51
It works on desktop, thank you.

How can it be done for mobile devices?

6 months 3 weeks ago #6

  • Vyacheslav's Avatar
  • Vyacheslav
  • Posts: 18042
For mobile devices you need to add this code :
@media (max-width: 1024px){
	.gallery-modal .ba-modal-header .modal-title {
	    position: fixed;
	    bottom: 65px;
	    left: 50vw;
	    transform: translateX(-50%);
	}
}
–°hange the value "bottom" as you need

Regards,
Vyacheslav, Balbooa.com

6 months 3 weeks ago #7

  • Klaus's Avatar
  • Klaus
  • Posts: 51
Now it works fine, thank you very much!

Regards,
Klaus

6 months 3 weeks ago #8

  • Vyacheslav's Avatar
  • Vyacheslav
  • Posts: 18042
You are welcome ;)
Let us know if you need more assistance!

Best Regards,
Vyacheslav, Balbooa Support Team
Powered by Kunena Forum