Hello Phoca Heroes,
I love Photoswipe, exactly the way i want to present my pictures. But the share button i don't need in some Website's. Therefore i was looking for a way to hide it. Is it possible to implement an option to show or hide the share button and its choices separately?
Thank you for your great work!
photoswipe "share button" hide
-
- Phoca Newbie
- Posts: 2
- Joined: 20 Jul 2017, 12:12
-
- Phoca Hero
- Posts: 2818
- Joined: 28 Nov 2010, 17:20
Re: photoswipe "share button" hide
Hi traveler,
in: default-skin.css there is:
you could add to your template.css:
Kind regards, Christine
in: default-skin.css there is:
Code: Select all
.pswp__button--share {
background-position: -44px -44px;
}
Code: Select all
.pswp__button--share {
display:none;
}
-
- Phoca Newbie
- Posts: 2
- Joined: 20 Jul 2017, 12:12
Re: photoswipe "share button" hide
Hi christine,
thank's for your suggestion. I altered the code and it works!
But for the future, an Option in the settings would be nice.
again thank you and have a nice day.
the traveler
thank's for your suggestion. I altered the code and it works!
But for the future, an Option in the settings would be nice.
again thank you and have a nice day.
the traveler