Tagged: easy slider
-
AuthorPosts
-
March 28, 2018 at 2:02 pm #934288
Hi, chose the transition “Slide sidewards” in the easy slider settings. But I really need to change the slide direction from “slide in from right” => “slide in from left”.
Can’t find an easy solution & can’t find the function in the enfold files to change it myself. If you could tell me which line of JS does the trick I wouldn’t be a big problem to change it myself. But would also love an easier solution if possible.
Thanks in advance,
DUALWERKMarch 28, 2018 at 9:35 pm #934521Hey DUALWERK,
Can we see the page and where you use the slider please and also provide us with backend access?
Best regards,
BasilisMarch 29, 2018 at 12:59 pm #934780I don’t think you need my website to check. I just used the plain “easy slider” in the layout builder -> https://kriesi.at/themes/enfold-2017/elements/easy-slider/
The only thing i am trying to achieve is, that in auto rotate, the slides come from the left side. not the right side.
Thanks in advance
March 30, 2018 at 1:14 pm #935295Hi,
Thank you for the update. This is possible but you need to modify the js > shortcodes.js file line 5453.
self._navigate( 'next' );
Replace “next” with “prev”. Don’t forget to remove browser cache before checking the page.
Best regards,
IsmaelApril 5, 2018 at 11:10 am #937602That did the trick, thank you Ismael!
April 5, 2018 at 1:12 pm #937705Hi,
Great, glad we could help :-)
Please let us know if you should need any further help on the topic or if we can close it.
Best regards,
RikardApril 6, 2018 at 12:49 pm #938242You can close it.
April 6, 2018 at 5:38 pm #938319hm a few days ago and on enfold 4.2.6. it is now on 4754 under
_startSlideshow: function()
wow nice tip.
or have we to change here the workaround vice versa too – on clicking the buttons manually
// public method: shows next image next : function(e) { e.preventDefault(); this._stopSlideshow(); this._navigate( 'next' ); }, // public method: shows previous image previous : function(e) { e.preventDefault(); this._stopSlideshow(); this._navigate( 'prev' ); },
April 9, 2018 at 12:29 pm #939125Hi,
I don’t think you have to change it. The modification above should only affect sliders with autoplay if I am not mistaken.
Best regards,
IsmaelMay 15, 2019 at 11:45 am #1100979Hi,
Has the method for this been updated for 4.5.3? Using a child theme if that changes method.
Thanks
May 17, 2019 at 11:45 am #1101735Hi,
@mintsuze: You can now find that script in the config-templatebuilder > aviashortcodes > slideshow > slideshow.js file. If you want to override it in your child theme, you have to add the “avia_load_shortcodes” filter and create a new folder called “shortcodes” or whatever path name it is that is set in the filter.// https://kriesi.at/documentation/enfold/intro-to-layout-builder/#add-elements-to-alb
Best regards,
IsmaelNovember 1, 2019 at 7:55 pm #1153120Hello Ismael. Please, I should do the same, but the shortcode.js file does not go beyond the 363 line and I can’t find the directions to change the direction. Thanks a lot. best regards. Bruno
November 1, 2019 at 9:54 pm #1153141I tried but in js shortcode.js I can’t find the string
self._navigate (‘next’);
and the lines are only 363. Would you be so kind as to write me how to change the direction of the slide entry? From left to right. Thanks a lot. best regards. BrunoNovember 8, 2019 at 4:36 am #1154831 -
AuthorPosts
- The topic ‘Easy Slider – Slide direction’ is closed to new replies.