Closed rimzzlabs closed 1 year ago
Hi @rizkimcitra ,
What you can do to unset this width is , write a css file and import it into your component, in that css file write the below code
.react-slideshow-wrapper > .images-wrap > div {
width: unset !important;
}
But this wont solve your problem, I presume you want to customize the width of the slides and not depend on the container width, so to solve that write the following in your css
.react-slideshow-wrapper {
width: 500px !important;
}
Hope this helps you
Hi @rizkimcitra ,
What you can do to unset this width is , write a css file and import it into your component, in that css file write the below code
.react-slideshow-wrapper > .images-wrap > div { width: unset !important; }
But this wont solve your problem, I presume you want to customize the width of the slides and not depend on the container width, so to solve that write the following in your css
.react-slideshow-wrapper { width: 500px !important; }
Hope this helps you
Thanks @prasad5795 , excellent solution, anw, I hope there are enhancement for next update about styling the children's width
every mapped children will have it's parent and width (with style, not css class)![image](https://github.com/femioladeji/react-slideshow/assets/62492410/a80cf6e7-ff9e-4cbb-b939-d6b69118e572)
how do I unset the width?