Tagged: x
-
AuthorPosts
-
September 27, 2016 at 6:25 pm #1193088
cdnmikeParticipantHello Support,
I have a page setup with links to pdf files that open in the lightbox when clicked, the trouble is that there are 6 such links on the page which are linked to separate pdf files, but when any link on the page is clicked all pdf files open in the lightbox gallery. Is there any way to have only the linked file open in the lightbox.
The link I’m using to trigger the lightbox:
[x_button class=”btn-lightbox” shape=”square” size=”large” float=”none” href=”/downloads/report_advantage_features_design_1.pdf” info=”none” lightbox_video=”true”]Download Sample[lightbox selector=”.btn-lightbox”][/x_button]The page can be viewed here:
http://x-theme.reportadvantage.com/report-designs/If you click any link that reads DOWNLOAD SAMPLE you can see what is happening.
Thanks
September 28, 2016 at 1:37 am #1193465
ChristopherModeratorHi there,
Please add following code in Cornerstone settings tab -> Custom CSS :
#envirabox-buttons a.btnNext, #envirabox-buttons a.btnPrev { display: none; } div#envirabox-buttons ul { width: 41px !important; }Hope that helps.
September 28, 2016 at 10:52 am #1194120
cdnmikeParticipantThanks for the quick response!
That didn’t help, but what I found is that I needed to change the class for each link on the page, they all had the same class name which was triggering the gallery. Now it works
September 28, 2016 at 12:39 pm #1194313
RupokMemberGlad that it all set now. Let us know if you need any other help.
Cheers!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1193088 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
