Jak pomniejszyć zdjęcia w image lightbox

stryjek-www
161 Posts
stryjek-www posted this 09 December 2019

Jak pomniejszyć zdjęcia po kliknięciu na nie po otwarciu w funkcji image lightbox, teraz po otworzeniu zdjęcia mam na całym ekranie a chciałbym aby były na połowie adres strony https://raden.gpe.pl/oferta/czyszczenie-przemyslowe

Jak pomniejszyć zdjęcia po kliknięciu na nie po otwarciu w funkcji image lightbox, teraz po otworzeniu zdjęcia mam na całym ekranie a chciałbym aby były na połowie adres strony https://raden.gpe.pl/oferta/czyszczenie-przemyslowe
Vote to pay developers attention to this features or issue.
5 Comments
Order By: Standard | Newest
Support Team
Support Team posted this 10 December 2019

Hello,

The lightbox modal windows open images in their full size.
You can add this code to Themler -> Home -> Settings -> Additional CSS:

.bd-lightbox .lightbox-image {
    max-width: 60%!important;
}

Gina
Themler Support

Hello, The lightbox modal windows open images in their full size. You can add this code to Themler -> Home -> Settings -> Additional CSS: .bd-lightbox .lightbox-image { max-width: 60%!important; } Gina Themler Support
stryjek-www
161 Posts
stryjek-www posted this 10 December 2019

ok dziękuję

ok dziękuję
stryjek-www
161 Posts
stryjek-www posted this 10 December 2019

a jak rozwiązać problem zdjęć pionie i poziomie tak aby wszystkie miały np 700 px wysokości, te w pionie i poziomie

a jak rozwiązać problem zdjęć pionie i poziomie tak aby wszystkie miały np 700 px wysokości, te w pionie i poziomie
stryjek-www
161 Posts
stryjek-www posted this 10 December 2019

Czy można zmienić efekt przejścia zdjęć?

Czy można zmienić efekt przejścia zdjęć?
Support Team
Support Team posted this 10 December 2019

1) Do you mean photos that open in the lightbox?
You can change the code to this:

.bd-lightbox .lightbox-image {
max-width: 700px!important;
}

This would ensure that the images width is not bigger than 700px. As for their height, it depends on the original proportions of the images. If they are square to begin with, then their height would be adjusted to same value as width.

2) What transition do you mean exactly?

Gina
Themler Support

1) Do you mean photos that open in the lightbox? You can change the code to this: .bd-lightbox .lightbox-image { max-width: 700px!important; } This would ensure that the images width is not bigger than 700px. As for their height, it depends on the original proportions of the images. If they are square to begin with, then their height would be adjusted to same value as width. 2) What transition do you mean exactly? Gina Themler Support
You must log in or register to leave comments