Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1476122

    Hi guy,
    something happened to my galeries.

    Under the big image theres a lot of space and the lightbox is much too big so you have to scroll to see the pic.
    Please help with a solution.
    thanks in advance
    auge

    #1476130

    for that small images below – there is in relation to its own dimension a big padding (7px for images that are approx. 30px)
    so set the padding to a smaller value:

    #top div .avia-gallery .avia-gallery-big,
    #top div .avia-gallery img {
      padding: 2px;
    }
    

    here the big image above is included to that new padding – so that the large image is aligned with the block of small images.

    ________

    I always set my lightbox so that the background does not scroll.
    There is now a filter for this which you can set in the child-theme functions.php.

    add_filter( 'avf_default_lightbox_no_scroll', '__return_true' );
    

    Apart from that, I don’t see the reason why these extreme heights are set for mfp-bg and mfp-wrap. The usual values are 1600 to a little over 2000px, why is it twice that in your installation? …

    #1476133

    Thanks a lot for your help,
    i solved the first problem. Made a mistake wth block heights.
    Second problem (lightbox):
    I dont know why this heights are set as they are since i do/did not change anything there.
    Where can i change that back? css lightbox?
    Thanks
    Auge

    #1476134

    Added your filter now and it works great! Thanks!
    Galery is cool now!

    #1476158

    Hi,
    Glad Guenni007 could help, thank you Guenni007, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Galery looks strange, Lightbox much too big’ is closed to new replies.