Hi,
How can I solve that the pre loading icon be displayed just on the home page?
Becasue just my home page is heavy…
Thank you
Best regards,
Peter
Hi Peter!
Thank you for using Enfold.
Please edit the header.php file. Look for this code:
if("av-preloader-active av-preloader-enabled" === $preloader)
{
echo avia_preload_screen();
}
.. replace it with:
if("av-preloader-active av-preloader-enabled" === $preloader && is_front_page())
{
echo avia_preload_screen();
}
You might also see the preloader when you go to a different page from home.
Best regards,
Ismael
Hi,
It’s work, thank you! :)
1. Hm… can I use this http://kriesi.at/documentation/enfold/add-new-or-replace-advanced-layout-builder-elements-from-child-theme/ for header.php too or just builder elements?
2. And how can I turn off this:
.js_active.av-preloader-enabled .av-minimum-height .container {
-webkit-transition: opacity 1.2s ease-in;
transition: opacity 1.2s ease-in;
}
I think it’s a new transition in 3.4.1 on every page, when the preloader is active. It’s very nice but I don’t need this.
Thank you very much! :)
Best regards,
Peter
Hey!
You can simply copy header.php file to your child theme and modify it there.
Please add following code to Quick CSS
.js_active.av-preloader-enabled .av-minimum-height .container {
-webkit-transition: none;
transition: none;
}
Best regards,
Yigit
Thank you! :)
Best regards,
Peter
Hi!
Please let us know if we can help you with anything else, we would be glad to help you!
Best regards,
Basilis