Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Caption On/Off toggle #677

Closed
MatteoZorro opened this issue Sep 24, 2017 · 7 comments
Closed

Caption On/Off toggle #677

MatteoZorro opened this issue Sep 24, 2017 · 7 comments

Comments

@MatteoZorro
Copy link

Hi,
The title says almost everything: is it possible to have an On/Off toggle for caption?

In my photo-blog I often use long captions to tell the story, and when seen on a phone they can easily cover half of the photo. It would be great if the user could make the caption disappear after reading.
Thank you

@vincent3569
Copy link

vincent3569 commented Sep 25, 2017

I agree with this feature request because I have the same one (see #371).

@arshapro
Copy link

Hello sachinchoolur,
First, thank you for writing this great javascript module! Also, if you added this feature for toggling captions I would make use of that feature.
Best,
Alex

@MatteoZorro
Copy link
Author

MatteoZorro commented Mar 16, 2018

Hello everyone,
Can this help someone to make the plugin?
#420 (comment)

@kassi
Copy link

kassi commented Jun 20, 2018

I am currently working on a plugin for lightgallery ("lg-info" for now) that a) toggles the title/caption on off and additionally toggles exif information on off (currently moving away from 3 state button to 2 simple buttons inside toolbar).
I wonder if it makes sense to move the caption toggle into a plugin (with extended functionality) or include it as a simple switch into lightgallery.

@grisinformatica
Copy link

May be an option like hideBarsDelay but for caption. Thanks!

@AlbertoRutigliano
Copy link

AlbertoRutigliano commented Oct 17, 2020

Hi! I'll show you my solution. If you want to force hiding caption bar, you can add to the lightgallery css file :
.lg-hide-items .lg-sub-html { opacity: 0; -webkit-transform: translate3d(0, 10px, 0); transform: translate3d(0, 10px, 0); }

@stale
Copy link

stale bot commented May 16, 2021

This issue has been automatically marked as stale because it has not had recent activity. If the issue is still valid for version 2.x, please re-open. Apologize for not responding on time. Thank you for your contributions.

@stale stale bot added the v1 label May 16, 2021
@stale stale bot closed this as completed May 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants