manh2244
manh2244

Reputation: 133

Using advanced captions with bxslider

I'm using bxslider to rotate some images - they take up 50% of the container. I want to use the other half for a caption div, containing multiple block elements (for title, subtitle, date, description).

By default, bxslider calls captions through the title attribute, which would be perfect if I weren't needing to use multiple elements as part of the caption.

Does anyone know of a working example that's similar to what I'm looking for? Or, even better, how could the bxslider configuration be modified to meet my specifications?

Upvotes: 3

Views: 2494

Answers (1)

Akash K.
Akash K.

Reputation: 637

You can simply add a <div> inside the <li> of bxslider and inside that div you can create whatever layout you want.

I've created an example for you here : Jsfiddle

I hope this solves your problem

Upvotes: 5

Related Questions