• breakstay

    (@breakstay)


    Hi,

    I am trying to configure the Awesome Portfolio plugin on my work intranet. I am trying to open a document on my network by clicking on the image of the portfolio item instead of the default lightbox appearing with the thumbnail preview of the image. So essentially I would like to replicate the “View Project” link functionality when clicking on the image of the portfolio item

    Every time I left click on the image, the light box opens instead of the file. If I right click and open in new tab, the file opens. How do I get it so that I can left click on the image and it open the file directly?

    Is there any way to get around this? Any help would be greatly appreciated.

    Kind Regards

    Haydn

    https://www.ads-software.com/plugins/awesome-filterable-portfolio/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Sorry, just subscribing to this thread as I’d also really like to know answer.

    Hi, one way to fix this is remove colorbox from the link. If you open the afp.php file and remove class=”colorbox” from line 1051, this will make the image link open as the projects page rather than color box (assuming the Image link is set to a projects page in the admin section). This is my page: https://flowingstone.co.nz/projects-3/

    As this will be over-written when the plugin is updated, I’ve actually created a copy of the plugin and re-named it so the change won’t be overwritten. I’m not sure if this is the best method for editing plugins though?

    Hope this helps….

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Remove/disable lightbox’ is closed to new replies.