Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #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.

    #831809

    Hey 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ünter

    #832125

    Hi,

    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

    https://pastebin.com/gpamiBuJ

    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ünter

    #832486

    It 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. ;-)

    #833549

    Hi,

    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ünter

    #833599

    Thank 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. ;-)

    #834165

    Hi,

    Thanks for your patience, we will hopefully have a new release ready within a few days.

    Best regards,
    Rikard

    #835318

    Hi,

    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ünter

    #835402

    Thank 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.
    #836352

    Hi,

    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,
    Yigit

    #836357

    Hi,

    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ünter

    #836366
    #836484

    Hi,

    We have replied to your new thread.

    Best regards,
    Yigit

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