Home › Forums › WoodMart support forum › Woodmart parallax options gone after update Woodmart to 3.5 and VC 5.7
Woodmart parallax options gone after update Woodmart to 3.5 and VC 5.7
- This topic has 9 replies, 2 voices, and was last updated 5 years, 9 months ago by Artem Temos.
-
AuthorPosts
-
February 20, 2019 at 1:00 pm #108653
Bulld DigitalParticipantHi,
After the updates to the theme and VC my options for controlling the parallax options have gone.
I can only switch to ON but there used to be options for controlling speed and position.
Please see: https://share.vidyard.com/watch/cUBhuaGKcsx5YaLeSK4jb3?Thanks,
Sander
February 20, 2019 at 1:06 pm #108656
Artem TemosKeymasterHi,
We didn’t have speed and position options for this parallax effect.
Kind Regards
February 20, 2019 at 1:45 pm #108677
Bulld DigitalParticipantPlease forgive me, I meant this option (V3.4): https://www.dropbox.com/s/3v92r0qs44uo6ka/options.jpg?dl=0
New version (v3.5): https://www.dropbox.com/s/hn7ouspm6hvk9dt/options_1.jpg?dl=0
February 20, 2019 at 1:51 pm #108682
Artem TemosKeymasterSeems to be our mistake. Try to add the following PHP code snippet to the child theme functions.php file to do this
function woodmart_parallax_scroll_map(){ return array( array( 'type' => 'woodmart_switch', 'heading' => esc_html__( 'Enable parallax on mouse scroll', 'woodmart' ), 'param_name' => 'parallax_scroll', 'group' => esc_html__( 'Woodmart Extras', 'woodmart' ), 'true_state' => 'yes', 'false_state' => 'no', 'default' => 'no', 'edit_field_class' => 'vc_col-sm-6 vc_column', ), array( 'group' => esc_html__( 'Woodmart Extras', 'woodmart' ), 'heading' => esc_html__( 'X axis translation', 'woodmart' ), 'hint' => esc_html__( 'Recommended -200 to 200', 'woodmart' ), 'type' => 'textfield', 'param_name' => 'scroll_x', 'edit_field_class' => 'vc_col-sm-4 vc_column', 'value' => 0, 'dependency' => array( 'element' => 'parallax_scroll', 'value' => array( 'yes' ), ), 'edit_field_class' => 'vc_col-sm-6 vc_column', ), array( 'group' => esc_html__( 'Woodmart Extras', 'woodmart' ), 'heading' => esc_html__( 'Y axis translation', 'woodmart' ), 'hint' => esc_html__( 'Recommended -200 to 200', 'woodmart' ), 'type' => 'textfield', 'param_name' => 'scroll_y', 'edit_field_class' => 'vc_col-sm-4 vc_column', 'value' => -80, 'dependency' => array( 'element' => 'parallax_scroll', 'value' => array( 'yes' ), ), 'edit_field_class' => 'vc_col-sm-6 vc_column', ), array( 'group' => esc_html__( 'Woodmart Extras', 'woodmart' ), 'heading' => esc_html__( 'Z axis translation', 'woodmart' ), 'hint' => esc_html__( 'Recommended -200 to 200', 'woodmart' ), 'type' => 'textfield', 'param_name' => 'scroll_z', 'edit_field_class' => 'vc_col-sm-4 vc_column', 'value' => 0, 'dependency' => array( 'element' => 'parallax_scroll', 'value' => array( 'yes' ), ), 'edit_field_class' => 'vc_col-sm-6 vc_column', ), array( 'group' => esc_html__( 'Woodmart Extras', 'woodmart' ), 'heading' => esc_html__( 'Parallax speed', 'woodmart' ), 'hint' => esc_html__( 'Define the parallax speed on mouse scroll. By default - 30', 'woodmart' ), 'type' => 'dropdown', 'param_name' => 'scroll_smooth', 'value' => array( '', 10, 20, 30, 40, 50, 60, 70, 80, 90, 100 ), 'dependency' => array( 'element' => 'parallax_scroll', 'value' => array( 'yes' ), ), 'edit_field_class' => 'vc_col-sm-6 vc_column', ), ); }
February 20, 2019 at 2:09 pm #108686
Bulld DigitalParticipantThanks, that did add the function back to the columns but it’s not working.
I tried to change and save the fields but nothing is changing on the front-end (cache cleared):February 20, 2019 at 2:14 pm #108688
Artem TemosKeymasterCould you please send us a link to this page as well as your admin access?
February 20, 2019 at 2:31 pm #108691
Bulld DigitalParticipantCheck details
February 20, 2019 at 2:47 pm #108693
Artem TemosKeymasterYou need to configure it for the single image element as you have now https://gyazo.com/26eaef58297fce738b75697ed431a726
February 20, 2019 at 3:01 pm #108695
Bulld DigitalParticipantYup, that’s it. Thanks!
February 20, 2019 at 3:02 pm #108696
Artem TemosKeymasterGreat, you are welcome.
-
AuthorPosts
The topic ‘Woodmart parallax options gone after update Woodmart to 3.5 and VC 5.7’ is closed to new replies.
- You must be logged in to create new topics. Login / Register