Tagged: x
-
AuthorPosts
-
January 1, 2017 at 3:24 pm #1311856
pdopchevParticipantHi guys,
Trying to recreate a similar functionality as the one on this page: https://travelcrestedbutte.com/crested-butte-hikes-tonys-trail-upper-upper-trail/ (see also screen grab) The images linked to the numbers display in a lightbox. The page I am working on is here: http://www.enjoycrestedbutte.com/crested-butte-trails-tonys-trail-whetstone-deli-loop/
Thank you!
January 1, 2017 at 10:34 pm #1312127
RupokMemberHi there,
Thanks for wriitng in! You can follow this walkthrough to setup lightbox – https://community.theme.co/kb/shortcode-walkthrough-lightbox/
Follow the steps for “Buttons and Lightboxes” and use anchor instead of button.
Cheers!
January 15, 2017 at 7:23 pm #1331341
pdopchevParticipantHi, thank you for the hint! However I am getting a bit confused how to incorporate it into the text. For instance, if I were to show the image linked to [1] in a lightbox, what exactly would be the order of the shortcodes?
Tony’s starts as a gradual climb <a href="http://www.enjoycrestedbutte.com/wp-content/uploads/2016/12/aspen-trees-1.jpg">[1]</a> with switchbacks through sage brush and a variety of wild flowers, eventually reaching the junction of the Upper Loop and Upper Upper Loop trails [2]. From the junction, take a right and follow a relatively flat trail to the next junction. Take a left here onto the first trail before you reach the barbed wire fence. This is the new Upper Upper reroute recently installed. It is a glorious, aspen filled path that ascends toward a grand vista.Thank you!
January 16, 2017 at 12:06 am #1331516
Paul RModeratorHi,
You can simply add a class to your link and set it as your lightbox selector.
eg.
Tony’s starts as a gradual climb <a class="my-lightbox" href="http://www.enjoycrestedbutte.com/wp-content/uploads/2016/12/aspen-trees-1.jpg">[1]</a> with switchbacks through sage brush and a variety of wild flowers, eventually reaching the junction of the Upper Loop and Upper Upper Loop trails [2]. From the junction, take a right and follow a relatively flat trail to the next junction. Take a left here onto the first trail before you reach the barbed wire fence. This is the new Upper Upper reroute recently installed. It is a glorious, aspen filled path that ascends toward a grand vista. [lightbox selector=".my-lightbox"]Hope that helps.
January 16, 2017 at 9:56 am #1332131
pdopchevParticipantThank you so much for the help! It works great!
One more question – is it possible to change the lightbox skin to dark?
January 16, 2017 at 11:24 am #1332268
RupokMemberHi there,
Thanks for updating. It looks dark on my end – http://prntscr.com/dwegql
Are you referring something else?
January 16, 2017 at 11:14 pm #1333048
pdopchevParticipantHi,
Yes, I was referring to the lightbox shortcode, which is implemented in the following text:
Tony’s starts as a gradual climb <a class="my-lightbox" href="http://www.enjoycrestedbutte.com/wp-content/uploads/2016/12/aspen-trees-1.jpg">[1]</a>... [lightbox selector=".my-lightbox"]Please check screen grab.
January 17, 2017 at 3:00 am #1333209
ChristopherModeratorHi there,
It’s currently dark, please see the attachment.
Please clear cache and check again.Thanks.
January 17, 2017 at 8:55 am #1333570
pdopchevParticipantHm, this is weird! Are you guys checking the lightbox that is activated when you click on the “numbers” in the text? Just checked again on two different browsers and it does have a light skin! The lightbox, which is activated when you click on the images (see screen grab) does have a dark skin!
January 17, 2017 at 11:12 am #1333760
JoaoModeratorHi There,
Please add the following code to Appereance > Customizer > Custom > CSS
.ilightbox-overlay.light { background: black !important; }Hope that helps
Joao
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1311856 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
