Skip to main content
Participant
January 25, 2017
Answered

Image Slider Width (probably simple!)

  • January 25, 2017
  • 1 reply
  • 497 views

Hi,

I'm using the Dreamweaver (Bootstrap) slider.

It currently is full width, though I've reduced my images for aesthetic reasons. This has had the effect of setting the images off center, left. I can seem to fix that.

Also, the grey gradient background remains full width and I'd like it to be 90%, centered. Can't seem to get that done either!

thanks for your help,

Brian

This topic has been closed for replies.
Correct answer Nancy OShea

Put your Carousel component inside a container and if needed another smaller <div> tag.

<div class="container">

     <div class="col-sm-10 center-block">

     CAROUSEL CODE GOES HERE....

     </div>

</div>

1 reply

Nancy OShea
Community Expert
Nancy OSheaCommunity ExpertCorrect answer
Community Expert
January 25, 2017

Put your Carousel component inside a container and if needed another smaller <div> tag.

<div class="container">

     <div class="col-sm-10 center-block">

     CAROUSEL CODE GOES HERE....

     </div>

</div>

Nancy O'Shea— Product User & Community Expert
Orion350Author
Participant
January 28, 2017

Thanks,

i just added "col-sm-10 center-block" to my existing Div, worked perfectly.

Brian