Skip Navigation

[Resolved] On a page with a slider, content temporarily slides up

This support ticket is created 6 years, 6 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 6 replies, has 2 voices.

Last updated by josephQ 6 years, 6 months ago.

Assisted by: Luo Yang.

Author
Posts
#920279

Tell us what you are trying to do? The issue is best illustrated (and exaggerated for your benefit) in an animated GIF of a screencast here: hidden link (it was too big to upload). In words, the issue is that when an image in a slider hasn't loaded, the content beneath it momentarily slides upwards, and is then pushed down when the image does load. Sometimes the slide-up/slide-down doesn't happen or happens very quickly. I think the cause is that when the image has to dynamically load on demand, this issue is revealed.

You can see this behavior yourself on this webpage:

hidden link

Feel free to edit that page for testing purposes.

#920701

Hello,

Thanks for the details, since I have your website credentials, it seems to be a CSS problem, I am checking it in your website, will update this thread if there is anything found,

#920718

I can see the problem in your website, in case it is a compatibility problem, please check these:
1) Deactivate other plugins and switch to wordpress default theme 2017, and test again

2) If the problem still persists, please provide a database dump file (ZIP file) of your website in below "private detail box", I need to duplicate same problem and debug it in my localhost, thanks.

#920989

[This is the second attempt to submit this message.]

Luo, thanks for your response. I deactivated all non-essential / non-required plugins and switched the theme to twentyseventeen. The issue was still visible. See this animated gif: hidden link.

A dump of my database was attached to this message the first time I submitted it, but there's no private field on my second attempt to submit this message. Can you initiate that again?

I'm going to try to investigate ways to stop the on-demand image loading so that all images are loaded when the page loads. It should prevent this problem (at a cost to page size and page load time).

#921167

OK, as your request, I have enabled the private message box again

#921518

Thanks for the details, I have done below modification in your website:
Edit the view
hidden link

in section "Loop Editor", click CSS Editor, add below CSS codes:

@media screen and (min-width: 1024px) {
	div[id^="wpv-view-layout-3775"] img{
  		min-height:1295px;
	}
}

The 3775 is your view's ID, the min-height is the minimal height of image, please test again, check if it is fixed in front-end

#922256

Luo,

Thanks for investigating this issue. I examined your solution and found that while it prevented one problem, it caused another: when I resized my browser window, the image, rather than resizing proportionally as it has done in the past, got narrower / squished. While not a likely thing to happen, it's also not desirable.

But I see that CSS can be used in part to tackle this issue and I'll keep searching for a solution. Thank you again!