Todor Inchovski Posted September 11, 2019 Share Posted September 11, 2019 Hello! I need to change the default image slider animation from slide to fade. Can anyone help me with that? Link to comment Share on other sites More sharing options...
Todor Inchovski Posted September 30, 2019 Author Share Posted September 30, 2019 I tried to add mode: fade, into homeslider.js, but it did not help. Any assistance will be appreciated Link to comment Share on other sites More sharing options...
Todor Inchovski Posted October 1, 2019 Author Share Posted October 1, 2019 find .carousel-inner>.carousel-item into your CSS files and change .carousel-inner>.carousel-item { position: absolute; transition: .6s ease-in-out; opacity:0; } next find .carousel-inner>.carousel-item.active and add opacity: 1 .carousel-inner>.carousel-item.active{ transition: .6s ease-in-out; opacity: 1; } then you can comment the follow css /*.carousel-inner>.active.left {*/ /*left: -100%*/ /*}*/ /*.carousel-inner>.active.right {*/ /*left: 100%*/ /*}*/ you also need to comment out the block: @media (-webkit-transform-3d),(transform-3d) It breaks the responsive behavior of the slider, but still does what I want Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now