Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1480425

    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

    • This topic was modified 4 days, 22 hours ago by Munford.
    #1480453

    Hey Munford,
    When I test your mp4 on Mac & Safari I see this error: The file isn’t compatible with QuickTime Player.
    Screen Shot 2025 03 29 at 11.12.39 AM
    Screen Shot 2025 03 29 at 11.16.21 AM
    When I convert with https://video.online-convert.com/convert-to-mp4 the file then plays fine, try this.

    Best regards,
    Mike

    #1480458

    Thanks
    that seems to work.

    • This reply was modified 4 days, 16 hours ago by Munford.
    #1480460

    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

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘preloader on 2 pages only’ is closed to new replies.