Slide In Plugin NOT working on home page of StudioPress Parallax Theme

Slide In not firing on home page of StudioPress Parallax Theme.

http://webvcp.com/Quinn (need support for Slide In. Installed in a development directory folder in the http://webvcp.com site)

> setup to show in 5 seconds on any page.
> fires on interior pages.
> home page is a widget based page.

I've tried all config combos: time delay, home page only, after scrolling, after passing class id.

Thanks in advance.

  • Hoang Ngo

    Hi @terry hall,

    I hope you are well today and i'm very sorry about your issue.

    I has debug your site, and i think the issue in the
    http://webvcp.com/Quinn/wp-content/themes/parallax-pro/js/parallax.js?ver=1.0.0

    So please modify the code from

    jQuery(function( $ ){
    				// Enable parallax and fade effects on homepage sections
    				$(window).scroll(function(){
    					scrolltop = $(window).scrollTop()
    					scrollwindow = scrolltop + $(window).height();
    					$(".home-section-1").css("backgroundPosition", "0px " + -(scrolltop/6) + "px");
    					if( scrollwindow > $(".home-section-3").offset().top ) {
    					// Enable parallax effect
    						backgroundscroll = scrollwindow - $(".home-section-3").offset().top;
    						$(".home-section-3").css("backgroundPosition", "0px " + -(backgroundscroll/6) + "px");
    					}
    					if( scrollwindow > $(".home-section-5").offset().top ) {
    					// Enable parallax effect
    						backgroundscroll = scrollwindow - $(".home-section-5").offset().top;
    						$(".home-section-5").css("backgroundPosition", "0px " + -(backgroundscroll/6) + "px");
    					}
    				});
    			});

    to

    jQuery(function ($) {
    				// Enable parallax and fade effects on homepage sections
    				$(window).scroll(function () {
    					scrolltop = $(window).scrollTop()
    					scrollwindow = scrolltop + $(window).height();
    					$(".home-section-1").css("backgroundPosition", "0px " + -(scrolltop / 6) + "px");
    					if ($('.home-section-3').size() > 0) {
    						if (scrollwindow > $(".home-section-3").offset().top) {
    							// Enable parallax effect
    							backgroundscroll = scrollwindow - $(".home-section-3").offset().top;
    							$(".home-section-3").css("backgroundPosition", "0px " + -(backgroundscroll / 6) + "px");
    						}
    					}
    					if ($(".home-section-5").size() > 0) {
    						if (scrollwindow > $(".home-section-5").offset().top) {
    							// Enable parallax effect
    							backgroundscroll = scrollwindow - $(".home-section-5").offset().top;
    							$(".home-section-5").css("backgroundPosition", "0px " + -(backgroundscroll / 6) + "px");
    						}
    					}
    				});
    			});

    And let see if it help.

    Best Regards
    Hoang

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.