Tagged: preloader, preloader on front page
HI
I am using this in my header.php to only have my preloader on 2 pages:\
if(is_page(1147)) $preloader = avia_get_option('preloader') == "preloader" ? 'av-preloader-active av-preloader-enabled' : 'av-preloader-disabled';
if(is_page ( 945)) $preloader = avia_get_option('preloader') == "preloader" ? 'av-preloader-active av-preloader-enabled' : 'av-preloader-disabled';
I tried: is_page( array( but that returned a php error.
This is working fine, although it shifts a bit before the page loads, and there seems to be a flash (especially in chrome) when the other pages load – maybe because the preloader background color is set to black? Is there a way to have them load a bit softer?
I have taken the preloader off page 945 so you can see how that page loads – it just started showing a black background also on the logo area: https://imgur.com/a/aKqXz33. It also seems to shift a bit, which is why I added the preloaded to that page. If those issues were fixed, I would remove it and only have it on the front page (1147).
Also I just saw that the video on page 945 is not loading on Safari. Can you check that out?
thanks
Nancy
Hey Munford,
When I test your mp4 on Mac & Safari I see this error: The file isn’t compatible with QuickTime Player.
When I convert with https://video.online-convert.com/convert-to-mp4 the file then plays fine, try this.
Best regards,
Mike
Thanks
that seems to work.
Hi,
Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.
Best regards,
Mike