-
AuthorPosts
-
December 3, 2019 at 3:34 pm #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.pngWhen 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?
December 3, 2019 at 8:44 pm #1162362Hey 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 ShannonDecember 8, 2019 at 1:24 pm #1163760… the website is still in developer mode. That’s why I can not set up access at the moment
December 8, 2019 at 3:03 pm #1163803Hi 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,
VictoriaDecember 8, 2019 at 3:24 pm #1163810… yes I get back asap
December 8, 2019 at 9:52 pm #1163908Hi frankeee,
Ok, we will keep the thread open for now.
Best regards,
VictoriaDecember 11, 2019 at 2:40 pm #1164821Hi 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:
December 11, 2019 at 6:26 pm #1164918Hi 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,
VictoriaDecember 12, 2019 at 8:40 am #1165125This reply has been marked as private.December 13, 2019 at 9:35 pm #1165654Hi frankeee,
Thank you.
Best regards,
VictoriaDecember 17, 2019 at 11:31 am #1166780Hi Victoria,
yes, i made a small customization to display the copyright. But even if I delete the customized copy, the error persists!December 18, 2019 at 8:15 pm #1167486Hi 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?
December 18, 2019 at 9:13 pm #1167506Hi frankeee,
Can you try building a test page with just that gallery and see if the issue persists?
Best regards,
VictoriaDecember 20, 2019 at 11:01 am #1168079Hi 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:
December 21, 2019 at 3:27 pm #1168438Hi 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,
VictoriaDecember 23, 2019 at 10:33 am #1168685Hi 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?
December 24, 2019 at 8:36 pm #1168983Hi frankeee,
I am out of ideas here, I’ll ask my colleagues to have a look.
Happy Holidays!
Best regards,
VictoriaDecember 27, 2019 at 11:55 am #1169039Hi,
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:
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:
I believe this is causing the miscalculation of the width of the slider sometimes.Best regards,
MikeJanuary 10, 2020 at 1:09 pm #1172138Hi 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 …
January 10, 2020 at 2:26 pm #1172170Hi,
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,
MikeJanuary 13, 2020 at 4:39 pm #1172871Hi 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 afterwin.on('debouncedresize', set_up);
- This reply was modified 4 years, 11 months ago by frankeee.
January 14, 2020 at 2:33 am #1173038Hi,
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,
MikeJanuary 14, 2020 at 7:56 am #1173101… yes, please close this.
January 14, 2020 at 1:07 pm #1173288 -
AuthorPosts
- The topic ‘Horizontal Gallery display wrong’ is closed to new replies.