slow appearance of the background

Posted in: Newspaper
Post count: 7

Hi all.
Tell me how to disable the slow appearance of the background?
I want it loaded instantly

Post count: 20688

Hi,

You could cancel the opacity transition, try a code like this

body .td-backstretch {
-moz-transition: none;
-webkit-transition: none;
transition: none;
}

Enter the code in Theme panel->Custom CSS and check the results. Maybe clear all caching after entering the code.

Thanks

Post count: 7

Thank you!
Now the site is loaded first, and then the background. Can I make it so that the background would remain stationary and when it moved to other pages of the site it would not change?

Post count: 20688

Hi,

I believe that is why the transition was placed in the first place, to make the possible flashing not so noticeable. Not all browsers produce the same results, there are differences regarding how the website is loaded between Chrome, Firefox and IE for example. You could try some tricks from these topics
https://www.nccgroup.trust/uk/about-us/newsroom-and-events/blogs/2016/may/why-background-images-are-slow-to-display-and-how-to-make-them-appear-faster/
http://smallbusiness.chron.com/making-background-images-load-faster-31826.html

Thanks

Post count: 7

Thank you!

Viewing 5 posts - 1 through 5 (of 5 total)
The forum ‘Newspaper’ is closed to new topics and replies.