New Landing How can we help? Themeforest Theme Support Dante Featured Client links always open in new window

Viewing 4 posts - 1 through 4 (of 4 total)
  • Posted in: Dante
  • #60480
    logicbroker
    Member
    Post count: 21

    When I specify a link for a client, when the logo is clicked, the link will always be opened in a new tab rather than in the same tab even if the link is internal. Is there somewhere in the code to change this?

    #60697
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    Open up clients.php in swift-freamework/page-builder/builder/shortcodes/clients.php

    And edit line 102:

    $items .= '<a href="'.$client_link_url.'" target="_blank"><img src="'.$image[0].'" width="'.$image[1].'" height="'.$image[2].'" /></a>';

    Set the target to _self

    – Kyle

    #60746
    logicbroker
    Member
    Post count: 21

    Thanks a lot Kyle. I haven’t upgraded to 2.5 yet so my string was on a different line, but I was able to find and change it.

    #60748
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Ok great! 🙂

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

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register