Support Forum

Please note that this forum is only available to you in read only mode. In order to contribute to this conversation you will need to renew your subscription.

Display Problem on Homepage with White Lines

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Not a very descriptive title, I know. :laugh:

Attached please see the screenshot. The strange thing is these white lines, which appear to be images from the bottom of article preview boxes, come and go—sometimes they are there, sometimes they are not. Sometimes they appear, and then go away. Sometimes there are none. Sometimes they're in different places.

Website: asknelly.com


preview.jpg
  • notsteve's Avatar
  • notsteve
  • 12 Month Developer
  • 119 posts
  • 2 Thanks
  • Karma: 6
Last Edit: 10 years 4 months ago by notsteve.
The administrator has disabled public write access.
It can be relating to the image load on a page but I can see the image load on the site is a lot less than previously

It can also be the delay as all the content loads - thats when I see the lines

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
The following user(s) said Thank You: notsteve
Hi Paul,

Yeah, that real-time image resizing plugin you and Andy recommended really did the trick. Now there is very little image load.

But yeah, the white lines are still a problem. When the page load was huge, sometimes they used to go away after the page loaded.

Now that the pages load quickly, those instances disappear almost instantly. But the problematic ones are unchanged, and never go away.

Any thought on this one?

Thanks man and hope you're doing well,

Bill
  • notsteve's Avatar
  • notsteve
  • 12 Month Developer
  • 119 posts
  • 2 Thanks
  • Karma: 6
The administrator has disabled public write access.
I can't see this one

I'll ask one of the team to take a look

The lines are the actual background graphic from the bottom of the article blocks

Normally it is the delay as the content is aligned

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
The following user(s) said Thank You: notsteve
Cool - thanks - I'll look forward to hearing from them.

Cheers, Bill
  • notsteve's Avatar
  • notsteve
  • 12 Month Developer
  • 119 posts
  • 2 Thanks
  • Karma: 6
The administrator has disabled public write access.
Hi Bill,

Are you using the latest version of the template?
I think there was a fix for this problem a while back.

Rob
  • Robert Went's Avatar
  • Robert Went
  • Moderator
  • 2210 posts
  • 196 Thanks
  • Karma: 90
The administrator has disabled public write access.
The following user(s) said Thank You: notsteve
I don't know…how do I see if a template has been updated? Andy sent me a patch a while back; that's the only update I've done (apart from my own PHP and Javascript work).

Cheers, Bill
  • notsteve's Avatar
  • notsteve
  • 12 Month Developer
  • 119 posts
  • 2 Thanks
  • Karma: 6
The administrator has disabled public write access.
Hi Bill,

You can check the version number in the extensions manager.

www.joomlabamboo.com/blog/how-to-joomla/how-to-find-a-version-number-of-an-extension-plugin-or-template

You can check the change logs here:
docs.joomlabamboo.com/changelogs/moments-changelog

I think the fix for your problem was in 1.4.0

Improved packery script to fire after images load.

Rob
  • Robert Went's Avatar
  • Robert Went
  • Moderator
  • 2210 posts
  • 196 Thanks
  • Karma: 90
The administrator has disabled public write access.
The following user(s) said Thank You: notsteve
OK, this is a dumb question: what is the best way to upgrade a template?

Thanks and sorry,

Bill
  • notsteve's Avatar
  • notsteve
  • 12 Month Developer
  • 119 posts
  • 2 Thanks
  • Karma: 6
The administrator has disabled public write access.
Hi Bill

The easiest way is to just re-install the template via the extension installer

but thats a problem due to the edited files

You may want to download the template > extract the zip to a folder and upload the files/folders mentioned in the changelog

But you would need a backup first of course

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
Hi Bill,

I think the fix for your problem was in the files
/html/com_content/category/blog.php
/html/com_content/featured/default.php

At the bottom of those files is some script
	var container = document.querySelector('#zen-packer');
	var pckry;
	// initialize Packery after all images have loaded
	imagesLoaded( container, function() {
	  pckry = new Packery( container, {
	    // options
	    itemSelector: '.item',
	    gutter: 20
	  });
	  
	  
	});

This needs to be wrapped in a window load function
(function ($) {
	$(window).load(function () {
		var container = document.querySelector('#zen-packer');
		var pckry;
	// initialize Packery after all images have loaded
	imagesLoaded( container, function() {
		pckry = new Packery( container, {
	    // options
	    itemSelector: '.item',
	    gutter: 20
	});
	});
});
}(jQuery));

(I had to remove the script tags to post in the forum)
  • Robert Went's Avatar
  • Robert Went
  • Moderator
  • 2210 posts
  • 196 Thanks
  • Karma: 90
The administrator has disabled public write access.
The following user(s) said Thank You: notsteve
HI Rob, thanks again for your reply. I checked in the latest template update (which I installed) and your suggested change was indeed implemented. However, we are still having the problem. Does anyone please have any ideas? It's sporadic, making the issue challenging to track down. The only reliable aspect is that a page refresh ALWAYS fixes the issue.

Thank you,

Bill
  • notsteve's Avatar
  • notsteve
  • 12 Month Developer
  • 119 posts
  • 2 Thanks
  • Karma: 6
The administrator has disabled public write access.
Does it affect the same user at different times?
Is there any common factors - browser, screensize. device used etc?

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
The following user(s) said Thank You: notsteve
I'm working on this. One of my team seems to have the issue a lot—I'm trying to find something reproducible on my end.

Thanks, Bill
  • notsteve's Avatar
  • notsteve
  • 12 Month Developer
  • 119 posts
  • 2 Thanks
  • Karma: 6
The administrator has disabled public write access.
Hi Bill

If you can narrow it down, that would be great as we can't seem to reproduce the problem here

Cheers
Paul
  • manh's Avatar
  • manh
  • Moderator
  • 45248 posts
  • 2106 Thanks
  • Karma: 603
The administrator has disabled public write access.
The following user(s) said Thank You: notsteve

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Happy Campers