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

Lightbox image position on mobile

2 weeks 4 days ago #1

  • Peter Borovicka's Avatar
  • Peter Borovicka
  • Posts: 1
Hello, thanks for great work!
I'm using Gridbox with Gallery.
Could it be possible to adjust position of image and description in Lightbox when displayed on mobile device? (not to be in the middle of display but a little bit closer to the top of the display)
It is probably connected with "--modal-body-padding-top: 289px;" - when I change this parameter with MS Edge Developer tools for example to 150px, it is exactly at the position where I want it to be (see attachments).
Please help. :)
Peter
www.peterborovicka.com
Attachments:

2 weeks 4 days ago #2

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

You need to add css code at the code editor
@media (max-width: 767px){
	.ba-modal-body.ba-resize > div.modal-image:not(.embed) {
	    padding-top: 150px;
	}
}

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