Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1193088
    cdnmike
    Participant

    Hello 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

    #1193465
    Christopher
    Moderator

    Hi 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.

    #1194120
    cdnmike
    Participant

    Thanks 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

    #1194313
    Rupok
    Member

    Glad that it all set now. Let us know if you need any other help.

    Cheers!

  • <script> jQuery(function($){ $("#no-reply-1193088 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>