• Resolved anemi09

    (@anemi09)


    Hi,
    I am using the free envira gallery plugin on a website for a photographer.
    https://www.akemihoshi.com
    However when loading the pages, there are always black squares instead of the images for a little while until the page loads completely. The image sizes are small and I have played around with the config settings of the plugin but I am not figuring out how to make the pages load faster.
    Can you please help?
    Thank you!!
    Emilia

Viewing 1 replies (of 1 total)
  • Hi @anemi09 ??

    That black is coming from a background color set on the div that holds the images.

    .envira-gallery-wrap .envira-gallery-item-inner {
        background-color: #000 !important;
    }

    While the page is still loading – it brings in all the HTML and CSS (the background color) and loads the divs last.

    You can either use some js to fade in the gallery after the page loads or just remove the CSS you have that sets that background color (shown above).

    Please let me know if that helps ??

    Thanks

Viewing 1 replies (of 1 total)
  • The topic ‘loading time, black background’ is closed to new replies.