How Can I delete "Fade in" effect of my header background image ?

Posted in: Newspaper
Post count: 312

How Can I delete “Fade in” effect of my header background image ?

https://lowtechnation.com

thank you !

  • This topic was modified 6 years by gumball44.
Post count: 35449

Hi,

There is set a translation on the image, this can be remove only with custom css, also this is set because the images is load after the content, the css code is:
<style>
.td-element-style-before {
transition: none;
-webkit-transition: none;
}
</style>

This need to be set here -> https://i.imgur.com/QdcK8dS.png

Thank you!

Post count: 312

How Can I make the headerback ground image load faster ? Your code works on fade in effect, but not on the speed of loading.

Thank you

Post count: 312

I want my header background image to load before the content

Post count: 35449

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: 312

I found my own solution, I deleted the header add block (I don’t need it) and replaced it by Logo block, then I added my header image in compressed png as logo. The problem is fixed, It’s very fast now !

  • This reply was modified 6 years by gumball44.
Post count: 35449

I’m glad that you find a way to make it work as you want!
If you have other questions, let us know!
Have a nice day!

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