-
AuthorPosts
-
February 26, 2016 at 10:12 am #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.February 29, 2016 at 3:20 am #590543Hey!
When editing the Portfolio item, scroll down to Advanced Portfolio Settings and set it like this – http://screencast.com/t/XMt87uoJDsk
Regards,
JosueFebruary 29, 2016 at 7:36 am #590586Hello!
You didn’t understand the issue. I mean the links in the yellow strip that I added to portfolio items:
http://screencast.com/t/OEhGroCPNLvFebruary 29, 2016 at 2:44 pm #590769Hi!
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,
JosueFebruary 29, 2016 at 4:52 pm #590914Thank 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);February 29, 2016 at 5:01 pm #590938Glad to hear that, you are welcome :)
Regards,
JosueNovember 6, 2017 at 12:23 pm #872996Ok, 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?November 6, 2017 at 2:02 pm #873052For me only added:
container.on(“click”, “a.grid-image”, methods.load_item);And now it works:)
November 6, 2017 at 7:24 pm #873304Hi 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 -
AuthorPosts
- You must be logged in to reply to this topic.
