Комментарии:
/*** JS *****/
jQuery(document).ready(function( $ ){
jQuery(".post_slide .elementor-widget-container").addClass("swiper-container");
jQuery(".post_slide .elementor-posts-container").addClass("swiper-wrapper");
jQuery(".post_slide .elementor-post").addClass("swiper-slide");
jQuery('.swiper-container').append('<div class="swiper-pagination"></div><div class="swiper-button-prev"></div><div class="swiper-button-next"></div>');
var swiper = new Swiper('.swiper-container', {
spaceBetween: 30,
slidesPerView: 3,
autoplay:true,
breakpoints: {
640: {
slidesPerView: 1,
spaceBetween: 20,
},
768: {
slidesPerView: 1,
spaceBetween: 40,
},
1024: {
slidesPerView: 2,
spaceBetween: 50,
},
},
pagination: {
el: '.swiper-pagination',
clickable: true,
},
navigation: {
nextEl: '.swiper-button-next',
prevEl: '.swiper-button-prev',
},
});
});
/*** CSS *****/
.swiper-wrapper {
display: flex !important;
flex-wrap: inherit;
}
thanks dude, your help my life, have great day bro 🙌
ОтветитьHi, how to get it work with "Improved Asset Loading"?
ОтветитьThe pagination and navigation arrows appear in the heading, images, title, etc. or each blog post. Please help.
ОтветитьHi, thank you for the tutorial, but I can't get it to work in the most recent Elementor/WordPress versions. All containers and classes seem unchanged, but doesn't work. Thanks.
ОтветитьHello @Avro, amazing video, It works in backend editor of Elementor, but on live preview doesnt, do you know where can be the problem ?
Ответитьthanks you bro
ОтветитьIt doesn't work in Elementor 3.5.0
ОтветитьIs this working in 2022? mine just stop working
ОтветитьIf I want a lightbox when click in image, How do it?
ОтветитьCan someone help, I only have 1 slide showing :(
ОтветитьAvro thanks for this, with Elementor Improved Asset loading feature turned on this no longer works, could you please update?
Ответитьbrother can you made an updated tutorial for this .... alot have changed in elementor and unfortunately its not working :(
ОтветитьHey Avro, I followed every step and copy paste your code, but it doesn't slide for me, I make the one slide per row also added the arrows, but it doesn't work. Can you help, please? Also I noticed that you are writing the JS code into Style section for CSS. Is that something that I need to work on. Please help ASAP @avro.
Ответитьvery nice..This guy knows how to use js.
ОтветитьThere is one issue. On a mobile screen, every time a slide appears leaves some space on the left side of the scree and eventually the later slides does not even appear completely leaving some good empty spaces on the left. Is there any solution to this?
ОтветитьHi I added this for my product slider in homepage, but there is a slight delay in the beginning,
My horizontal slider shows in the vertical form in the beginning,
After I scrolling all the way down the site comes back to Horizontal Scroll Slider,
good job man
ОтветитьI'm trying to do it with HTmega post following all the steps but it's not working at all. The JS code I've applied is:
\\\\\\\\\\\\\\\\\\\\\------
jQuery(document).ready(function( $ ){
jQuery(".post_slide .elementor-widget-container").addClass("swiper-container");
jQuery(".post_slide .eael-post-grid-container").addClass("swiper-wrapper");
jQuery(".post_slide .eael-grid-post eael-post-grid-column").addClass("swiper-slide");
jQuery('.swiper-container').append('<div class="swiper-pagination"></div><div class="swiper-button-prev"></div><div class="swiper-button-next"></div>');
var swiper = new Swiper('.swiper-container', {
spaceBetween: 300,
slidesPerView: 3,
autoplay:true,
breakpoints: {
640: {
slidesPerView: 1,
spaceBetween: 20,
},
768: {
slidesPerView: 1,
spaceBetween: 40,
},
1024: {
slidesPerView: 3,
spaceBetween: 50,
},
},
pagination: {
el: '.swiper-pagination',
clickable: true,
\\\\\\\\\\\\\\\\\\\\\--------
Somehow this JS script doesn't apply the swiper classes
I come here after 1 year and I love you for this tut. Thx for the upgrading:—)
ОтветитьAlignments are bit off when i did this. Does anyone have any fix ?
ОтветитьI thought your Slick version was good, but this is better.
How do I remove the pagination completely?
Many thanks
Pete
how can we disable that dots in that slider?
Ответитьpagination not came properly in my website
ОтветитьDoes this swipe? On mobile
ОтветитьNice tutorial! Do you know how to add custom fields to show it in a grid? For example price or something like that?
ОтветитьHey, the arrows applied to everywhere else I used the media slider in the website. How to undo for other sliders on the website?
ОтветитьHey there. Thank you so much for this. It's fantastic. I followed your instructions but it's targeting all the elements that slide, like testimonial slider but not the posts that I set up target. Is there something I have missed?
ОтветитьIs this working with a loop?
Ответитьwaiting for more tutorial like this bro
ОтветитьThank you for your help! Very good video ....
ОтветитьThank you
Ответитьtried to do this to make a product slider but failed it ó.ò. Have some tips?
Ответитьgreat ...greetings from CUBA
ОтветитьHiie i tried with the custom loop post and its not working..Can you tell me how can i achieve for the custom loop post.?
ОтветитьAvro, thank you very much! Ur lessons 👍🏻👍🏻👍🏻👍🏻👍🏻👍🏻👍🏻👍🏻
Ответитьwhy slider stop when click on arrow left or right ?
Ответитьhow we can set slide to infinite loop?
Ответитьhow we can remove bullets?
Ответитьhow we can make arrows clickable???
Ответитьhow we can make arrows clickable
ОтветитьI had some problems, but everything works fine now. One strange thing though when you don't want to use the custom CSS & JS plugin. When you add the JS and CSS in an HTML widget, the navigations are added a second time to the HTML widget?! Why is that and is there a way to prevent this?
Ответитьhi, can you tell me that how we can embed this code in just specific page ?
ОтветитьHi, thankyou for your wonderful videos I watch them all and all so useful.
Please could you help in creating vertical and horizontal slider with nested content using Elementor pro or other way please.
Swiper slider has this but I don't see if this can be achieved with elementor?
Thanks and have a great weekend 😊
i have set the post slide , it works well, Thanks
one issue remaining , the slide showing 4 pagination arrows and 4 dots , why?, it must be 2 arrows and 2 dots
can you tell me where to place outside arrow code? its urgent
Ответитьsorry works well , thanks
Ответитьits not work
ОтветитьAlways the best
ОтветитьYES!!! THANK YOU VERY MUCH!
Ответить