Page 1 of 1

How to change border frame of preview pictures?

Posted: 04 Jan 2020, 12:45
by pede
Hello -
is there a simple way to change the black border frame (color, wide) for all preview pictures or to disable it?

Re: How to change border frame of preview pictures?

Posted: 04 Jan 2020, 21:21
by mjau-mjau
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;
}

Re: How to change border frame of preview pictures?

Posted: 06 Jan 2020, 04:34
by pede
Cool! Thank you very much!

Re: How to change border frame of preview pictures?

Posted: 05 Jun 2020, 01:24
by pede
As I have now noticed, the change only affects photos. For video clips, the border is still black. Can this be easily changed?

Re: How to change border frame of preview pictures?

Posted: 05 Jun 2020, 04:10
by mjau-mjau
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?