-
AuthorPosts
-
March 21, 2016 at 7:56 am #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!
March 22, 2016 at 5:11 am #601664Hi resbangkok,
Could you provide us with a link to the site in question so that we can take a closer look please?
Best regards,
RikardMarch 29, 2016 at 10:14 am #604333Hi 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
March 29, 2016 at 1:25 pm #604505Hey!
Disable Transitions and add this to Quick CSS:
.av-siteloader-wrap { display: none !important; } .home .av-siteloader-wrap{ display: block !important; }Regards,
JosueApril 5, 2016 at 1:24 pm #608258Thanks, I did that and tested on FF but this made all click on the page not working. Only the scroll was working fine :(
April 5, 2016 at 1:25 pm #608260Hi,
Can you post the link to your website please?
Regards,
JosueApril 8, 2016 at 11:41 am #610175Hi,
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.
April 8, 2016 at 11:58 am #610187Glad you managed to get it working and thanks for sharing your solution.
Regards,
Josue -
AuthorPosts
- You must be logged in to reply to this topic.
