-
AuthorPosts
-
July 27, 2017 at 12:43 pm #830607
Thank you for the latest updates. I have found good use for the new horizontal galery. It shows all featured images from the website portfolio. I would however like to link every image to the specific portfolio. I can add an specific link to each image in the horizontal gallery. But it does not bring me to the specific portfolio of page. It just brings forward the next image in the horizontal galery.
July 30, 2017 at 1:32 pm #831809Hey Jos,
Thank you for using out theme.
You are right, this is a bug. Thank you for reporting.
I will try to fix it and it will be integrated in the next release.
I will let you know, when we have a solution.
Best regards,
GünterJuly 31, 2017 at 2:00 pm #832125Hi,
I fixed the bug.
If you do not want to wait for the next update you can replace the complete content of file enfold\config-templatebuilder\avia-shortcodes\gallery_horizontal.php
with the content of “RAW Paste Data” in
Make a copy of the original file to have a fallback in case something goes wrong. The link is valid for 1 week.
Check the input fields in the element.
Let us know, if it solves your problem.
Best regards,
GünterJuly 31, 2017 at 11:02 pm #832486It works but it needs some attention from my part. If I use the same picture as I have used in the portfolio then that picture does not trigger the lightbox in the portfolio. So the solution should be to create an extra image just to use in the horizontal gallery. I hope to publish around 300 portfolio’s for our artists, so it means 300 additional images on my server. But at the end its a price I’m willing to pay because I really love the way the horizontal gallery unlocks the underlying gallery’s. But If you find a better solution…man…that would be great. ;-)
August 2, 2017 at 4:46 pm #833549Hi,
You are right, to me this seems to be an inconsistent behaviour. When selecting lightbox, all images should be displayed in the lightbox and the custom link should be ignored.
I’ll check with Kriesi, if he really intended this implementation and will come back to you, when I have more information.
Can you wait a few days – if not, i can provide you a temporary fix for the masonry element.
Best regards,
GünterAugust 2, 2017 at 7:17 pm #833599Thank you very much Günter, I can wait a few day’s. My respect for you’re work is very big, it makes me humble. ;-)
August 4, 2017 at 6:10 am #834165Hi,
Thanks for your patience, we will hopefully have a new release ready within a few days.
Best regards,
RikardAugust 7, 2017 at 11:58 am #835318Hi,
As the next release will take longer, I provide you a temporary fix:
In File enfold\config-templatebuilder\avia-shortcodes\av-helper-masonry.php:
Around line 508 you find:
$custom_link = get_post_meta( $id ,'_portfolio_custom_link', true) != "" ? get_post_meta( $id ,'_portfolio_custom_link_url', true) : false; if($custom_link) $this->loop[$key]['url'] = $custom_link;
Replace this with:
$custom_link = get_post_meta( $id ,'_portfolio_custom_link', true) != "" ? get_post_meta( $id ,'_portfolio_custom_link_url', true) : false; if( ! empty( $this->atts['container_links'] ) ) $custom_link = ''; if($custom_link) $this->loop[$key]['url'] = $custom_link;
Around line 516:
$custom_url = get_post_meta( $id, 'av-custom-link', true );
Replace this with:
$custom_url = get_post_meta( $id, 'av-custom-link', true ); if( ! empty( $this->atts['container_links'] ) ) $custom_url = '';
This will ignore the custom links if lightbox is active and uses the link, if deactivated.
Let us know, if this solves your problem.
Best regards,
GünterAugust 7, 2017 at 3:18 pm #835402Thank you very much. I processed the tweaks and adjusted the url’s and voila: http://www.kunstlijnhaarlem.nl/kunstlijn/kunstenaars/ Could you also provide the tool for adjusting screensize on differtent screens? It looks beautiful on almost every kind of screen, except on small mobile phone screens.
- This reply was modified 7 years, 4 months ago by Kunstlijn.
August 9, 2017 at 12:59 pm #836352Hi,
Please try adding this code to the Quick CSS section under Enfold > General Styling or to your child theme’s style.css file:
@media only screen and (max-width: 480px) { .responsive .av-horizontal-gallery-img { width: auto; height: 100%; transform: none; }}
Best regards,
YigitAugust 9, 2017 at 1:11 pm #836357Hi,
If you also want to have the slideshow arrows on mobil, than add the following code to the Quick CSS section under Enfold > General Styling or to your child theme’s style.css file:
@media only screen and (max-width: 767px) { .responsive #top .av-horizontal-gallery .avia-slideshow-controls a{ display:block !important; }}
Best regards,
GünterAugust 9, 2017 at 1:29 pm #836366It is not what I mean. I created a new topic here: https://kriesi.at/support/topic/horizotal-gallery-on-smaller-screens-with-firefoxchromesafari/
August 9, 2017 at 4:43 pm #836484 -
AuthorPosts
- You must be logged in to reply to this topic.