New Landing How can we help? Themeforest Theme Support Dante Is it possible to make portfolio showcase items open in a new tab?

Viewing 8 posts - 1 through 8 (of 8 total)
  • Posted in: Dante
  • #275767
    Joanna
    Member
    Post count: 185

    Hello,

    Is it possible to make portfolio showcase items open in a new tab? I would like to achieve that in the home page.

    Thank you,

    Joanna

    #275775
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    1) Please go to Admin > Appearance > Menus.

    2) Make a menu in WP

    3) Make a ‘custom link’ in the menu with portfolio page link.

    4) Make the link target “_blank”

    5) Done 🙂 .

    Thanks
    Mohammad

    #275779
    Joanna
    Member
    Post count: 185

    Hello,

    Thank you for your quick help! Do I have to make it for each portfolio item? As I always rearrange them.
    Also, will it make the portfolio item to open in a new tab across whole website?

    I would like to have only the portfolio showcase to open in a new tab.

    Thank you,

    Joanna

    #275780
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please provide me specific page url with portfolio showcase page.
    Thanks
    Mohammad

    #275782
    Joanna
    Member
    Post count: 185

    Hi,

    It is on the home page, here: http://www.varrojoanna.com/

    Thank you,

    Joanna

    #275808
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please paste this code at Admin > Theme Options > Custom CSS/JS > Custom JS.

    <script>
    jQuery( document ).ready(function($) {
      $('ul.portfolio-showcase-items li.portfolio-item a.link-to-post').attr('target','_blank');
    });
    </script>

    Thanks
    Mohammad

    #275843
    Joanna
    Member
    Post count: 185

    Beautiful, that worked now! Thank you very much for your time.

    Joanna

    #275845
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Glad to help you.
    Thanks
    Mohammad

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

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

License required for the following item
Login and Registration Log in · Register