Home › Forums › All Other Themes › Restro: visual effect or bug?
- This topic has 6 replies, 3 voices, and was last updated 8 years, 4 months ago by Sonl Sinha.
-
AuthorPosts
-
July 24, 2016 at 9:41 am #41547
Hello,
I upgraded from restaurant-lite to restaurant pro yesterday.
Whith lite version all was ok, in the pro version the site loading is very strange.
The browser loads only menu and banner on the top of the page and remains blank in the lower part. The page completes displaying only when I scroll down….
If it’s an effect how can I disable it?
if it’s a bug what can i do?
Same problem in site online and on localhost in fresh installation.Thanks
July 24, 2016 at 1:12 pm #41552it seems to be the same situation in this post:
https://www.sktthemes.org/forums/topic/restraurant-pro-theme-section-1-does-not-appear-until-i-scroll-down/#post-27710July 25, 2016 at 6:17 am #41601Hi Marc,
Yes for that you can remove the animation on homepage.
https://www.sktthemes.org/forums/topic/home-page-responsive-display/
As mentioned in that topic either you can do it on your own or else you can send us WordPress admin details and URL of the site for us to do it for you.
Regards,
ShriJuly 25, 2016 at 7:50 am #41613Thanks for reply Shri.
Is this the part of custom.js affected?jQuery(window).scroll(function() { jQuery('.our-restaurant').each(function(){ var imagePos = jQuery(this).offset().top; var topOfWindow = jQuery(window).scrollTop(); if (imagePos < topOfWindow+400) { jQuery(this).addClass("fadeInUp"); } }); jQuery('.todayspecial').each(function(){ var imagePos = jQuery(this).offset().top; var topOfWindow = jQuery(window).scrollTop(); if (imagePos < topOfWindow+400) { jQuery(this).addClass("fadeInDown"); } }); jQuery('.hmourmenu .one_half').each(function(){ var imagePos = jQuery(this).offset().top; var topOfWindow = jQuery(window).scrollTop(); if (imagePos < topOfWindow+400) { jQuery(this).addClass("fadeInLeft"); } }); jQuery('.hmourmenu .last_column').each(function(){ var imagePos = jQuery(this).offset().top; var topOfWindow = jQuery(window).scrollTop(); if (imagePos < topOfWindow+400) { jQuery(this).addClass("fadeInRight"); } }); jQuery('.officehour .one_half').each(function(){ var imagePos = jQuery(this).offset().top; var topOfWindow = jQuery(window).scrollTop(); if (imagePos < topOfWindow+400) { jQuery(this).addClass("fadeInLeft"); } }); jQuery('.officehour .last_column').each(function(){ var imagePos = jQuery(this).offset().top; var topOfWindow = jQuery(window).scrollTop(); if (imagePos < topOfWindow+400) { jQuery(this).addClass("fadeInRight"); } }); jQuery('.news-box').each(function(){ var imagePos = jQuery(this).offset().top; var topOfWindow = jQuery(window).scrollTop(); if (imagePos < topOfWindow+400) { jQuery(this).addClass("fadeInDown"); } }); jQuery('.testimonials').each(function(){ var imagePos = jQuery(this).offset().top; var topOfWindow = jQuery(window).scrollTop(); if (imagePos < topOfWindow+400) { jQuery(this).addClass("fadeIn"); } }); jQuery('#ourgallery').each(function(){ var imagePos = jQuery(this).offset().top; var topOfWindow = jQuery(window).scrollTop(); if (imagePos < topOfWindow+400) { jQuery(this).addClass("fadeInUp"); } }); });
Are all the lines like this to cut off?
jQuery(this).addClass("fadeInUp");
What funcionality is lost applying this patch?
July 25, 2016 at 1:45 pm #41683Hi,
Animation has to be disabled because without scrolling there is no animation and the below sections
remain hidden.
Kindly refer to this forum post on how to disable animation:
https://www.sktthemes.org/forums/topic/home-page-responsive-display/
In case you are unable to disable animation on your own kindly send us your URL of the site and
WordPress admin details via sktthemes.net/contact.
Please mention this forum URL while replying so that we understand what needs to be done.
Regards,
BradJuly 25, 2016 at 3:31 pm #41701thanks to Shri & Brad
I made the changes suggested and all seems good.
But what happens when the theme will be updated? all changes lost?July 28, 2016 at 6:55 am #42004Hi Marc,
Unfortunately Yes, after updating the theme you have to repeat the same changes.
Regards,
Brad -
AuthorPosts
- You must be logged in to reply to this topic.