• I have a portfolio set up with a few items. Each item links to an external youtube/vimeo link. Right now whenever I click on an item, the custom link opens in both the original window as well as opening a new window, so I have 2 windows of the external link and none of my site. I would like the video to open in a few tab, while my website remains open in the other tab. I have tried checking or unchecking “open link in new tab” but it doesn’t seem to make a difference. Any way to solve this?

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Hi,

    You have two a tags for one portfolio item (two-fer). See your code below.

    
    <div class="port-desc-holder">
        <div class="port-desc">
            <div class="overlay"></div>
            <div class="grid-item">
                <h3><a href="https://vimeo.com/348749053#new_tab">Thailand</a></h3> <span>Travel Video</span>
            </div>
        </div>
    </div>
    <div class="port-subtitle-holder">
        <div class="port-subtitle">
            <h3><a href="https://vimeo.com/348749053#new_tab">Thailand</a></h3> <span> <a
                    href="https://brettswanson.com/portfolio_cat/travel-video/">Travel Video</a> </span>
        </div>
    </div>
    
    

    Try checking your theme’s portfolio settings and removing one of the links–i.e. either the overlay or the portfolio title.

    You might have better luck, and it might be more productive for you to hit-up your theme’s author or appropriate theme forum.

    Good luck!

Viewing 1 replies (of 1 total)
  • The topic ‘Custom Link opens in original tab and new tab’ is closed to new replies.