Viewing 24 posts - 1 through 24 (of 24 total)
  • Author
    Posts
  • #1162232

    When calling the page, the gallery is displayed incorrectly – 2 pictures instead of 4 are shown – see:
    https://nimbusweb.me/box/attachment/1035a7zh34exbx5j/2bfpxckzovmqJKrJ/Bildschirmfoto%202019-12-03%20um%2013.54.38.png
    https://nimbusweb.me/box/attachment/1035a7zh34exbx5j/hJEZqnGxynEpkCEf/Bildschirmfoto%202019-12-03%20um%2013.55.01.png

    When I reload the page, the galery is displayed correctly. This is not a cache problem! Because when you call the page again, the gallery is again displayed incorrectly. There are other galleries in my webpage that are completely identical except for the pictures and are displayed correctly. What can I do?

    #1162362

    Hey frankeee,

    Please provide a link to the site/page in question so we can look into this further. The sceenshot’s above did not work for me.

    Best regards,
    Jordan Shannon

    #1163760

    … the website is still in developer mode. That’s why I can not set up access at the moment

    #1163803

    Hi frankeee,

    We need to see the actual css and html to be able to propose a solution for you. Please get back to us when you get the website to some testing server.

    Best regards,
    Victoria

    #1163810

    … yes I get back asap

    #1163908

    Hi frankeee,

    Ok, we will keep the thread open for now.

    Best regards,
    Victoria

    #1164821

    Hi Victoria,
    the website is now online and the problem is shown here, for example:

    Stupidly, the error only shows up when the page is loaded the first time. Empty cache then does not help, the error can then no longer be reproduced. So I hope that he shows up. If not please try:

    #1164918

    Hi frankeee,

    Thank you for getting back to us. Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look?

    Best regards,
    Victoria

    #1165125
    This reply has been marked as private.
    #1165654

    Hi frankeee,

    Thank you.

    Best regards,
    Victoria

    #1166780

    Hi Victoria,
    yes, i made a small customization to display the copyright. But even if I delete the customized copy, the error persists!

    #1167486

    Hi Victoria,
    we still have the problem with the horizontal gallery. It shows up on different pages and only as described when the pages are first called up. If the page is reloaded, the problem disappears.

    I know this is stupid because the mistake cannot be repeated correctly. For customers who access such a page, it is daunting! So what can we do? what could be? what should we check?

    #1167506

    Hi frankeee,

    Can you try building a test page with just that gallery and see if the issue persists?

    Best regards,
    Victoria

    #1168079

    Hi Victoria,
    here ist a test site for you: https://www.eisexpeditionen.de/test/
    … however, this test site will not bring us closer to the problem. As I said, the problem does not appear with every call and only with the first page load. If you reload, the problem disappears. It is also not browser-specific. It appears in FF as well as in Chrome or Safari. On every site with a horizontal Gallery (every gallery has the same settings).

    If you cannot see the failure, please try this links:

    #1168438

    Hi frankeee,

    I have looked at all the links today in Chrome, Safari and FF on a Mac, the issue only occurred on the test page and this page

    There are no errors anywhere. Please have the CSS and JavaScript merging disabled for a while and see if the issue persists.

    Best regards,
    Victoria

    #1168685

    Hi Victoria, thank you for watching it. And thanks for your hint – I switched off the JS and CSS merging immediately and tested it – unfortunately without success. The error continues to occur at approximately every fourth gallery. Since we use the horizontal gallery about 70 times, we have a lot of errors on the page. Therefore I´m thankful for every hint!

    Do you have any other ideas? Do you want to keep your WP access?

    #1168983

    Hi frankeee,

    I am out of ideas here, I’ll ask my colleagues to have a look.

    Happy Holidays!

    Best regards,
    Victoria

    #1169039

    Hi,
    I took a look at your pages and saw the error, I also saw that your content is outside of the ID “#main” so your page struggle for your custom templates is not correct “single-cruise.php” & “single-cruise_date.php”
    in this screenshot you can see that the horizontal gallery, and all other content, is inside the #main div, this is the correct page structure:
    2019-12-27-040339
    in this screenshot of your custom template the #main div is closed and the horizontal gallery, and all other content, is outside of it, this is not correct:
    2019-12-27-040526
    I believe this is causing the miscalculation of the width of the slider sometimes.

    Best regards,
    Mike

    #1172138

    Hi Mike, sorry for my late reply. And of course you’re right about the DIVs. However, this does not correct the incorrect calculation of the width for the gallery. Because the error even shows up without child theme.

    We have now solved this with a script that recalculates the width after 300ms and again after one second and thus corrects the error.

    Not a fine solution, but it helps first. Better suggestions are welcome …

    #1172170

    Hi,
    I took a look at one of the pages you were having this error on, url in Private Content area, and I see that your gallery is still outside of the “wrap_all” & “main” divs, but since your script is working well the page looks fine.
    I’m not sure how to rewrite your custom template to correct the structure, but this seems to be working good.
    Can you post your script for future users should they have a similar issue?
    Then I guess we can close this thread?

    Best regards,
    Mike

    #1172871

    Hi Mike,
    this is the script you are asking for:
    `setTimeout(function() { set_up() }, 300);
    setTimeout(function() { set_up() }, 1000);`
    … we added this in gallery_horizontal.js on line 103 right after win.on('debouncedresize', set_up);

    • This reply was modified 4 years, 10 months ago by frankeee.
    #1173038

    Hi,
    Thank you, perhaps this will help others in the future.
    Unless there is anything else we can assist with on this issue, shall we close this then?

    Best regards,
    Mike

    #1173101

    … yes, please close this.

    #1173288

    Hi,

    Thanks for the update, I’ll go ahead and close this thread for now then. Please open a new thread if you should have any further questions or problems.

    Best regards,
    Rikard

Viewing 24 posts - 1 through 24 (of 24 total)
  • The topic ‘Horizontal Gallery display wrong’ is closed to new replies.