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

    Hello,
    Excellent Theme!
    How can I set up external link in Ajax preview portfolio item?
    The link should be linked to other page of the site and now it open the portfolio item in Ajax.

    See the link “For reservation” in the yellow strips.
    Thank you.

    #590543

    Hey!

    When editing the Portfolio item, scroll down to Advanced Portfolio Settings and set it like this – http://screencast.com/t/XMt87uoJDsk

    Regards,
    Josue

    #590586

    Hello!
    You didn’t understand the issue. I mean the links in the yellow strip that I added to portfolio items:
    http://screencast.com/t/OEhGroCPNLv

    #590769

    Hi!

    Try the following, open js/shortcodes.js and change this line:

    container.on("click", "a", methods.load_item);
    

    To:

    container.on("click", ".avia-button a", methods.load_item);
    

    That way, the Ajax load will only occur when the button at the bottom is clicked.

    Regards,
    Josue

    #590914

    Thank you so much!
    But the right code is:
    container.on(“click”, “a.avia-button”, methods.load_item);
    container.on(“click”, “a.grid-image”, methods.load_item);

    #590938

    Glad to hear that, you are welcome :)

    Regards,
    Josue

    #872996

    Ok, if i do this, all images are dissapearing from the portfolio grid page.
    I have Enfold 4.0.5 and working with a child theme.
    Can you help me?

    #873052

    For me only added:
    container.on(“click”, “a.grid-image”, methods.load_item);

    And now it works:)

    #873304

    Hi mjpschouten,

    Glad you got it working for you! And thank you for sharing! :)

    If you need further assistance please let us know.

    Best regards,
    Victoria

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.