Tagged: x
-
AuthorPosts
-
October 29, 2016 at 11:55 am #1235988
I’ve been trying to hide all images in a lightbox except for the first one.
You have helped me do so using Cornerstone on my Home Page but I have tried to do it within a Post and haven’t found a method that works.Here’s what I’ve tried:
This is the CSS I’ve added in Custom CSS:
a.hidden{display:none;}It’s hiding the photo both from the post and from the lightbox, so it never really shows up. Any ideas on how I can achieve what I need?
Thanks
October 29, 2016 at 8:10 pm #1236297Hello There,
Thanks for writing in! To make sure that only one image will display in a lightbox, please have your shortcode like this:
[image class="my-image" src="http://sininvierno.com/wp-content/uploads/2016/10/ana-1050639.jpg" alt="Example" type="thumbnail" link="true" href="http://sininvierno.com/wp-content/uploads/2016/10/ana-1050639.jpg" title="Example Image"] [lightbox selector=".my-image" deeplink="true" opacity="0.875" prev_scale="0.75" prev_opacity="0.75" next_scale="0.75" next_opacity="0.75" orientation="horizontal" thumbnails="true"]
Please let us know if this works out for you.
November 1, 2016 at 9:44 am #1239222I want only one image to show in the post but all images to show in the lightbox. This is so I don’t interrupt the reading so much but I trigger access to the lightbox with just one image.
Thanks
November 1, 2016 at 10:41 am #1239310 -
AuthorPosts