maxmarinich / react-alice-carousel

React responsive component for building content galleries, content rotators and any React carousels
MIT License
832 stars 91 forks source link

images to the left instead of center #288

Closed hamzapaskingakhtar1999 closed 1 year ago

hamzapaskingakhtar1999 commented 1 year ago

I am trying to add an item container that has image. title and price. Everything is fine but image is to the left. Rendering same without using React-alice is fine.

Also in smaller screens instead of being in the middle the container is moved to the right. No margins of the container.

maxmarinich commented 1 year ago

Hi, @hamzapaskingakhtar1999! The lib is using inline-block model to display & groups elements. Use samples from here. Open the dev console and check the styles for the case you are interested in. You can specify any styles for internal classnames