Home › Forums › Trusted Pro › Masonry issue
Tagged: masonry
- This topic has 12 replies, 2 voices, and was last updated 6 years, 8 months ago by Andy.
-
AuthorPosts
-
April 9, 2018 at 4:51 pm #4402Adri OosterwijkParticipant
Hi Andy,
On a site I have developed (openwater.nl) is a travelblog (reisverhalen in Dutch) clicking on it shows the archive for this blog. However it is a bit on top of eachother. It looks like the masonry is failing a bit. What to be done?
April 9, 2018 at 4:54 pm #4405AndyKeymasterCan you try it without the slide in animation effects activated and see if the articles still overlap.
April 11, 2018 at 10:11 am #4417Adri OosterwijkParticipantHi Andy,
I tried it and it is still overlapping in some instances. See screenshot.
BTW I did noticed that I post this question in Trusted but in fact it has to be in Trusted Pro… sorry.
April 11, 2018 at 10:12 am #4418Adri OosterwijkParticipantIt is happening to another site also.
April 11, 2018 at 10:19 am #4421AndyKeymasterHi Adri,
It all looks OK when I view your sites in various different browsers.
Could you please let me know what browser and OS you are using?
This may help us to narrow down the problem.
Many thanks.April 11, 2018 at 2:17 pm #4422Adri OosterwijkParticipantHi Andy,
I’m working on a MacBook Pro.
It surfaces in Chrome, Safari, Firefox and Opera.
It also happens on a different macBook Pro.
Reloading solves it for that page but going to a next archive page brings the problem back.I can remember in the past when I was using de masonry scripts from DeSandro (https://masonry.desandro.com/) I had to load an eventie.js and an imagesLoaded.js script to get rid of this problem. I also do recall that you helped me before with a masonry issue for woocommerce: https://uxlthemes.com/forums/topic/masonry-sometimes-messed-up/
Can it be related?
On my iPad I don’t see it. Looks like it is macOs related or are you on a mac as well?
Adri
April 12, 2018 at 8:57 am #4426AndyKeymasterThank you for providing the information.
When I view your site on Mac or Windows and with differant browsers, the masonry looks OK and does not overlap.
Could you temporarily disable the FAQ plugin to see if it is conflicting?
Also in your child theme you are loading the parent stylesheets like so:
@import url("../trusted-pro/style.css"); @import url('../trusted-pro/css/header-1024.css');
Could you remove or comment out these two lines and see if that makes any difference. You do not need to load the parent stylesheets like this, as they are already loaded by the fact that the parent theme is installed and your code is making them load twice.
April 12, 2018 at 11:48 am #4432Adri OosterwijkParticipantHi Andy,
I tried your suggestions but nothing changed. Not on bot my macs with different browsers.
However suddenly something hits me.
It only occurs when a featured image is involved. When no featured image is set (and therefor no image is displayed on the archive page) the items behave perfect.Could it have something to do with loading times of the images? As we live a mobile life we often have not a very fast connection to the internet. See screenshots. The first is the top of the page were images are used, the second one is near the bottom of the page and here are no images used.
I hope this input is useful.
Adri
April 12, 2018 at 3:36 pm #4434AndyKeymasterHi Adri,
Please update to 1.2.2 and hopefully the masonry layout issues should now be fixed.
April 12, 2018 at 4:30 pm #4437Adri OosterwijkParticipantHi Andy,
I updated Trusted-Pro to 1.2.2 and I’m sorry to say the masonry issue still excists. see screenshot
April 12, 2018 at 4:57 pm #4438AndyKeymasterThe update makes sure to only add the masonry positioning after the images have loaded, so it should eliminate this issue.
Have you made sure to logout from your WP admin and clear your browser cache?
April 12, 2018 at 5:13 pm #4439Adri OosterwijkParticipantHi Andy,
It is solved indeed, it wasn’t my browsers cache or something here. I suspect the site had to be propagated again to the CDN as I remembered using that feature at my hosting account. Is that possible? In that case I was to hasty to respond for which I apologize.
I checked all 47 pages of archive pages and no one fails.
Again a big thumbs up for your outstanding support.
April 13, 2018 at 12:17 pm #4442AndyKeymasterYes the CDN thing sounds entirely plausible. Glad to hear no issues with the masonry layout and thank you for letting us know that it is all working properly now.
-
AuthorPosts
- The topic ‘Masonry issue’ is closed to new replies.