Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #601086

    Hi,

    How to only enable Page Preloading + Page Transitions for the homepage only?

    It’s nice when visitor access website the first time, but then it’s getting frustrating when browsing internal page.

    Thanks for our help!

    #601664

    Hi resbangkok,

    Could you provide us with a link to the site in question so that we can take a closer look please?

    Best regards,
    Rikard

    #604333

    Hi Rikard,

    Right now the website is in dev on local machine, but this is the settings I am talking about:

    https://i.imgsafe.org/28d2d72.png

    Possible to activate them only for the homepage?

    Thanks

    #604505

    Hey!

    Disable Transitions and add this to Quick CSS:

    .av-siteloader-wrap {
        display: none !important;
    }
    .home .av-siteloader-wrap{
        display: block !important;
    }

    Regards,
    Josue

    #608258

    @Josue

    Thanks, I did that and tested on FF but this made all click on the page not working. Only the scroll was working fine :(

    #608260

    Hi,

    Can you post the link to your website please?

    Regards,
    Josue

    #610175

    Hi,

    The website is actually on dev locally, so as a workaround here is what I did:

    1. in the child theme copy the header.php file
    2. line 10 I have changed:

    $preloader = avia_get_option('preloader') == "preloader" ? 'av-preloader-active av-preloader-enabled' : 'av-preloader-disabled';

    to become

    if ( is_front_page() ) $preloader = avia_get_option('preloader') == "preloader" ? 'av-preloader-active av-preloader-enabled' : 'av-preloader-disabled';

    The only small issue is that it’s doing also the transition/preloading when we go from homepage to other page, but not that annoying.

    #610187

    Glad you managed to get it working and thanks for sharing your solution.

    Regards,
    Josue

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.