Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #16971

    Hi,

    I wanted to figure out how to make the thumbnail links that lead to single portfolio pages open in new windows instead of in the current window?

    http://therealmofpossibility.org/partners/harvardglobalhealthinstitute/

    Thanks!

    #93605

    I’d use jquery for this task. Open up angular/js/avia.js and replace following code at the very top:

    jQuery(document).ready(function(){

    with:

    jQuery(document).ready(function(){
    jQuery(".portfolio-sort-container .featured a").attr('target', '_blank');

    #93606

    Thank you for this!

    There is one problem: for the 1st and 2nd portfolio items on the second row of thumbnails, the container is not large enough to make the picture clickable. How do I make it so that when people hover over all of these portfolio thumbnails that they will indeed be able to follow a the link to the single page?

    http://therealmofpossibility.org/home-2/

    Thanks

    #93607

    Hi InterdisciplinaryInnovation,

    It looks like those profiles (portfolio items) just don’t have links associated with them. Go to the individual portfolio item and expand the image in the featured images. Where it has the drop down for Link options, select the option you want and then update the item.

    Regards,

    Devin

    #93608

    Along a similar line, I’d like my Read More links to open in a new tab as well as my Project URL links in project meta. What’s the best way to make this happen? Thanks!

    #93609

    Open up angular/js/avia.js and replace following code at the very top:

    jQuery(document).ready(function(){

    with:

    jQuery(document).ready(function(){
    jQuery(".portfolio-sort-container .featured a, .portfolio-meta-value a, .ajax-portfolio-response a.more-link").attr('target', '_blank');

    #93610

    Thanks, Dude.

    Solution works great except for the portfolio items on the portfolio page.

    I’d like the Project URL links to open in a new window.

    I thought portfolio-meta-value a would’ve done the trick–and it does on the individual project pages–but not on my main portfolio page.

    See http://grafficart.com

    Thanks!

    #93611

    Hi TheImageFarm,

    I would actually suggest just passing a _blank target directly in the url for the meta field. If you put in the entire link as an html line it just gets passed through.

    So you would put the following in the Project URL meta field:

    <a href="thelink.com" target="_blank">www.thesitedisplayedastext.com</a>

    Regards,

    Devin

    #93612

    Awesome! Works perfectly. Thanksamillion for the expertise!

Viewing 9 posts - 1 through 9 (of 9 total)

The topic ‘Make Links to Portfolio Items Open in a New Page’ is closed to new replies.