Okay
  Public Ticket #2049779
Portfolio items cannot load properly
Closed

Comments

  • Jia started the conversation

    Hi Neuron,


    When I enter portfolio (anyone of them), the images inside will overlap other elements at first (attachment: portfolio-1). I have to refresh the page to correct the display. 

    please check attachment. Thank you!

    Li Jia

  •  675
    Neuron replied

    Hi Jia,

    There can be a slow communication with JS and the DOM of website, so to reload that fast, simply install the following plugin.

    - https://wordpress.org/plugins/insert-headers-and-footers/

    After installing go to the Settings > Insert Headers and Footers, add the following script in head or footer.

    <script>
    jQuery(function($) {
        setTimeout(function() {
            window.dispatchEvent(new Event('resize'));
        }, 400);
    });
    </script>

    Kind Regards


    Subscribe to our newsletter to get the latest updates about NeuronThemes and join our community Facebook Group.

  • Jia replied

    Thank you for your prompt reply! But it seems do not work. 

    Please check attachments. Thank you!


    Li Jia

  •  675
    Neuron replied

    Hi Jia,

    Can you please provide me with your wp-admin, do not forget to tick private, so I can check what is going on.

    Kind Regards


    Subscribe to our newsletter to get the latest updates about NeuronThemes and join our community Facebook Group.

  •   Jia replied privately
  •  675
    Neuron replied

    Hi Jia,

    Please check it again.

    It should be working now.

    Kind Regards


    Subscribe to our newsletter to get the latest updates about NeuronThemes and join our community Facebook Group.

  • Jia replied

    Hi Neuron,

    Thank you for your help! But the overlap still happen, and the images are stretched to abnormal size.

    Could you please check it again? Thanks!

    Li Jia

  •  675
    Neuron replied

    Hi Jia,

    The cache needed to be clear, please check it again.

    Kind Regards


    Subscribe to our newsletter to get the latest updates about NeuronThemes and join our community Facebook Group.

  • Jia replied

    Thank you Neuron!

    Now the images in portfolio are shown correctly on PC, but, when I put images in portfolio with Gallery, they will disappear on mobile. ( https://www.wangkaifang.com/en/portfolio/wind-one-square-meter-sky-1/)

    Could you please check it again?

    Li Jia

  •  675
    Neuron replied

    Hi Jia,

    Sorry about that, there was a line missing on the responsive. I have added it, everything works alright now.

    Kind Regards


    Subscribe to our newsletter to get the latest updates about NeuronThemes and join our community Facebook Group.