This question is not answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 3 - Pages: 1 - Last Post: 20-Nov-2017 19:55 Last Post By: AndreWolff
netmx

Posts: 2
Registered: 4-Aug-2015
PhotoSwipe skin, arrows and top bar are hidden at mouse-out
Posted: 20-Nov-2017 17:31
 
  Click to reply to this thread Reply
Hiding the arrows and the top bar at mouse-out is a default behavior in the PhotoSwipe skin but you can suppress it:

res/common.css

.pswp__ui--idle .pswp__top-bar { opacity: 0; }

.pswp__ui--idle .pswp__button--arrow--left,
.pswp__ui--idle .pswp__button--arrow--right { opacity: 0; }

Set the opacity to 1 and and everything stays visible. It looks like the hack will not be overwritten by "create album".

Mx
AndreWolff

Posts: 2,552
Registered: 14-Dec-2007
Re: PhotoSwipe skin, arrows and top bar are hidden at mouse-out
Posted: 20-Nov-2017 18:17   in response to: netmx in response to: netmx
 
  Click to reply to this thread Reply
netmx wrote:
Hiding the arrows and the top bar at mouse-out is a default behavior in the PhotoSwipe skin but you can suppress it:
OK Jörg this might work, but I like to follow the possible options of the PhotoSwipe gallery.

But first tell me, is the possibility to display the description below the image not OK?

Currently, the information disappears after 1 second after a mouse-out. Is it OK for you if I enlarge this to 10 seconds?

Greetings, André
netmx

Posts: 2
Registered: 4-Aug-2015
Re: PhotoSwipe skin, arrows and top bar are hidden at mouse-out
Posted: 20-Nov-2017 18:35   in response to: AndreWolff in response to: AndreWolff
 
  Click to reply to this thread Reply
Yes, hacks are not very nice. 10 seconds are ok.
Mx
AndreWolff

Posts: 2,552
Registered: 14-Dec-2007
Re: PhotoSwipe skin, arrows and top bar are hidden at mouse-out
Posted: 20-Nov-2017 19:55   in response to: netmx in response to: netmx
 
  Click to reply to this thread Reply
netmx wrote:
Yes, hacks are not very nice. 10 seconds are ok.
I just released a new PhotoSwipe skin version, your option is on the Slide page tab.

Point your RSS reader here for a feed of the latest messages in all forums