Hi volution,
Bit confused but going on your title question – can the img-rounded
class be added to the carousel image – the short answer is no, not really.
The longer answer is that the plugin uses the wordpress get_the_post_thumbnail()
function, which doesn’t seem to have this functionality enabled. It would be possible to search and replace string manipulations or to use jQuery to add the class, but this gets a bit messy.
However – if you check out the bootstrap source CSS, you’ll find that the img-rounded
class doesn’t actually do very much:
.img-rounded {
border-radius: 6px;
}
So my suggestion would be that you just add a new CSS class yourself which does the same thing. Something like this should work:
.carousel-inner .item img {
border-radius: 6px;
}
I hope that helps! Shout if you have any questions.
Cheers,
Phil