Forum Replies Created
-
AuthorPosts
-
For moderator this is a solution for this scenario.
“Column starts outside the viewport and it places at it’s position depending on scrolling the page”File avia-snippet-parallax.js line 467 mod
case ‘left_right’:
scrollPos = Math.ceil( this.elProperty.distanceRight * scrolled_pc_toTop * this.speed );
transform.x = scrollPos;
var leftmargin = this.winWidth -this.elProperty.distanceRight +this.elProperty.width;
if (scrollPos<leftmargin) {
matrix = this._getTranslateMatrix( this.elProperty.translateObj, { x: -leftmargin +scrollPos } );
} else {
matrix = this._getTranslateMatrix( this.elProperty.translateObj, { x: 0 } );
}My try is:
Position relative -50vw (Ok it starts outside de viewport)
Parallax left_to_right 50% (It moves from left to right but it don’t stop at the right position, it continues to move to right)
I’m wrong?A great improvement for ENFOLD will be a setting that can set the parallax movement from START VALUE to the END VALUE when the values are relative to the CSS X/Y translate. Value 0 is the position defined in the Avia Builder.
Example scrolling page down:
PARALLAX X
0 -> 100px move a div from its own position 100px to right, then stops (reverse when scroll up)
0 -> -100px move a div from its own position 100px to left, then stops (reverse when scroll up)
-100px -> 0 move a div from 100px on the left to right to its own position then stops (reverse when scroll up)
100px -> 0 move a div from 100px on the right to left to its own position then stops (reverse when scroll up)December 22, 2020 at 8:58 pm in reply to: Best practice to customize and add a new shortcode to ALB #1269391Is it possible to customize all the link pickers by modifying the functions.php to accept only ‘subtypes’ => array( ‘no’, ‘manually’ ) INSTEAD OF ‘subtypes’ => array( ‘no’, ‘manually’, ‘single’, ‘taxonomy’ ) ?
The problem is showing when there are a lot of single items or many taxonomies (25.000).
The popup is terribly slow because it load all items in the select.May 7, 2020 at 1:36 pm in reply to: Best practice to customize and add a new shortcode to ALB #1210712Hi,
i need to know if there’s a function that set the default values of a shortcodes.
In deep i need to set as CHECKED the default value of the “Disable Autoplay” video slide (easyslider)September 26, 2014 at 10:26 am in reply to: Portfolio Grid disappear in translated page (Enfold + wpml) #325493Thanks… i will
-
AuthorPosts