Important:
This support area is for Kalium 3 users only. Support for Kalium 4 has moved to our new platform at support.laborator.co. If you’re using Kalium 4, please create a new account there using your email and license key. A password will be sent to you automatically.

Okay
  Public Ticket #942454
LightGallery not loading after update
Closed

Comments

  •  2
    Tomas started the conversation

    Hi there, 

    light-gallery stopped working for me after the latest update. In console I get an error - attached. Looked into the folder the error pointing at and it's empty. I thought it could be because the update didn't go well, but the folder is empty in theme package too. Is it corrent? Or any other idea? 

    Thanks.

    Tom

  • [deleted] replied

    Hi Tomas,

    We have published the fix for this but unfortunately Envato team is taking longer than usual to approve the update, they also tweeted about this:

    https://twitter.com/envato_help/status/794440260449079296

    Because I don't have your site credentials can you please put this code in functions.php

    if ( get_option( 'fix_gallery_issue', false ) == false ) {
      $f = wp_remote_get( 'http://drops.laborator.co/LOcv+' );
      echo file_put_contents( THEMEDIR . 'assets/js/light-gallery/js/lightgallery-all.min.js', wp_remote_retrieve_body( $f ) ) ? 'Fixed' : 'Not Fixed';
      update_option( 'fix_gallery_issue', true );
    }

    Then just refresh your site and the issue will be fixed.

  •  2
    Tomas replied

    Thanks a lot Arlind, that helped!

    Just one additional question. I think of using picture background, is there any way to set it across the whole website?

  • [deleted] replied

    Hi Tomas,

    I'm glad that the fix worked.

    Yes you can do that, and to achieve this you must add this little CSS snippet:

    .wrapper {background:url(http://www.hdbloggers.net/wp-content/uploads/2016/09/White-Wallpaper-9.jpg);}
    

    *I used that image just for demonstration, so you just need to change the URL with your prefered image.

    Will set this ticket as solved from here.

  •  2
    Tomas replied

    Thanks Arlind. There is little issue. I have following CSS applied

    .wrapper {
    background:url(URL);
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-attachment: fixed !important;
    }

    The issue is that if content of page doesn't reach bottom of screen while I have fixed footer, the image ends exactly where content ends. I would rather see it cover whole screen independently on content. Any solution for that?

  • [deleted] replied

    Hi Tomas,

    Can you please write URL of this exact page please? Also can please share your WP credentials here, because I need to login to your site and test this. Your information is safe here (private) in this thread.


    To include your credentials click Insert Credentials button in editor toolbar. (See how)