Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: Carousel Caption

mainman100 free asked 6 years ago


Is it possible to add additional captions to a carousel, and to position the captions..the documentation says that the caption is automatically positioned (in fact center align near the bottom of the slide) and formatted.  But what if you want more than one caption and to format them in a custom style?

ive tried adding an inline style per:

<CarouselCaption style={{top: 100, left: -500}}>
but that results in a loss of responsiveness.

Mikołaj Smoleński staff answered 6 years ago


Hi there,

Carousel caption is rendering as a div. You can style it as You want using 'style' or 'class' attribute.

To make it responsive I suggest to change it's width to be less then 100%.

Best Regards


mainman100 free commented 6 years ago

Many thanks


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB React
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No
Tags