Search…

X3 Photo Gallery Support Forums

Search…
 
arbu
Topic Author
Posts: 9
Joined: 29 Sep 2020, 03:32

help for the border of popup

15 Aug 2024, 10:13

Hello Karl Can you add a border to the image in the popup?
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14469
Joined: 30 Sep 2006, 03:37

Re: help for the border of popup

15 Aug 2024, 21:56

arbu wrote: Hello Karl Can you add a border to the image in the popup?
For example, Settings > Custom > Custom CSS:
Code
.pswp__img {
  border: 5px solid white;
}
Keep in mind, this means there will be tiny glitch if/when closing images and they zoom back to the small thumbnail in the gallery page layout.