-
AuthorPosts
-
June 22, 2021 at 7:32 pm #1307011
Hi
I have two questions regarding the portfolio:
1) Is it possible to load a video inside the portfolio gallery instead of an image?
2) When I click on one portfolio item is it possible for it to expand where it is positioned in queue instead of at the very top of the grid? It feels like a long way up the further down in the grid I click.
I would resolve this issue with the gallery tab but there I don’t seem to be able to add text.I hope you can help
June 27, 2021 at 9:07 pm #1307615Hey june,
Thank you for your patience, unfortunately, you can not load a video inside the portfolio gallery instead of an image, I also tried a plugin I found on WordPress Plugins, but it didn’t work either.
As for the location of the portfolio ajax container, it is already at the top of the grid and just not shown until you click an item, so it is not created on the fly, I thought about some jQuery to move it to whatever item was clicked, but that would change the whole structure and probably make a mess of it when it was closed. I recommend using multiple portfolio grid elements on your page, since you are using two columns try only adding two items to each portfolio grid element
and use no pagination or sorting. Unfortunately, this element doesn’t have a post offset so to keep the same items from showing multiple times you should create multiple categories with only two items per category
but then the portfolio ajax container will show right above the items clicked:
Hopefully, this helps you.Best regards,
MikeJuly 6, 2021 at 10:46 pm #1308981Thank you Mike
I did try this version. I did like that once you’re in you can click through all items in the portfolio. With this new set-up that isn’t possible anymore. Hmm, I have not flagged this with my client and as long they don’t say it bothers them I will not change it.
Thank you for you input though.July 7, 2021 at 12:57 pm #1309097Hi,
Glad that you liked it, please note that this setup created multiple portfolio grid elements each with only two items, so that the ajax container would show just above the two items, such as mid-page, the only drawback is that the multiple portfolio grid elements do not share their portfolios.
Perhaps you could remove the previous & next ajax controls so it won’t be confusing?.ajax_controlls > .ajax_previous, .ajax_controlls > .ajax_next { display: none; }
Unless there is anything else we can assist with on this issue, shall we close this then?
Best regards,
Mike -
AuthorPosts
- You must be logged in to reply to this topic.