Search…

X3 Photo Gallery Support Forums

Search…
 
pede
Experienced
Topic Author
Posts: 60
Joined: 08 Apr 2019, 06:03

How to change border frame of preview pictures?

04 Jan 2020, 12:45

Hello -
is there a simple way to change the black border frame (color, wide) for all preview pictures or to disable it?
Attachments
BlackFrameAroundBird.jpg
BlackFrameAroundBird.jpg (38.9 KiB) Viewed 3056 times
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13993
Joined: 30 Sep 2006, 03:37

Re: How to change border frame of preview pictures?

04 Jan 2020, 21:21

Go to Settings > Custom > Custom CSS, and add the following:
Code
.mega.list .image-container {
  outline: 5px solid white !important;
}
Simply change the width and/or the color in the above, or entirely disable the outline:
Code
.mega.list .image-container {
  outline: none !important;
}
 
pede
Experienced
Topic Author
Posts: 60
Joined: 08 Apr 2019, 06:03

Re: How to change border frame of preview pictures?

06 Jan 2020, 04:34

Cool! Thank you very much!
 
pede
Experienced
Topic Author
Posts: 60
Joined: 08 Apr 2019, 06:03

Re: How to change border frame of preview pictures?

05 Jun 2020, 01:24

As I have now noticed, the change only affects photos. For video clips, the border is still black. Can this be easily changed?
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13993
Joined: 30 Sep 2006, 03:37

Re: How to change border frame of preview pictures?

05 Jun 2020, 04:10

In this post, I offered CSS on how to change border color in the MENU. I'm not quite sure what you mean by "video clips", because there are no video clips in the menu. Do you mean border for video clips in the page? If so, do you mean videos embedded to custom content? Or uploaded videos displaying in the gallery? And did you try to customize the video border already? If so, what code?