Search…

X3 Photo Gallery Support Forums

Search…
 
User avatar
Martin
Experienced
Posts: 651
Joined: 30 Jan 2011, 23:24

Re: popup

11 Feb 2015, 14:48

mjau-mjau wrote:
Martin wrote:Addtional question:
Do you think it is possible to put a border around the image?
Yes, but keep in mind since the image goes from top to bottom, the frame will not have any margin. Try this:
Code
.mfp-image {
  border: 10px solid white;
}
Well... I don't see any effect of this at all :?:
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13998
Joined: 30 Sep 2006, 03:37

Re: popup

11 Feb 2015, 22:04

Wow, sorry ... mfp-img not mfp-image:
Code
.mfp-img {
  border: 10px solid white;
}
 
User avatar
Martin
Experienced
Posts: 651
Joined: 30 Jan 2011, 23:24

Re: popup

11 Feb 2015, 23:44

mjau-mjau wrote:Wow, sorry ... mfp-img not mfp-image:
Code
.mfp-img {
  border: 10px solid white;
}
I like it!
Even if there's no margin at the top or bottom, it 'solidifies' the image... (for lack of a better term :-))
This effect is enhanced when you flip to the next picture and there is this slight turning of the images.

Thnx!... again :D