- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-21-2018 11:49 PM
Hi,
How to scale/reduce height and width of carousel widget/instance.
Regards,
Vikram
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-31-2018 12:16 AM
Hi,
I have enhanced HTML and CSS. It worked well for reducing size and removing grey area.
HTML
<div class="pull-in">
<uib-carousel interval="options.interval">
<uib-slide ng-repeat="slide in ::data.slides" active="slide.active">
<div class="container">
<a href="{{::slide.url}}" title="Open carousel item">
<img ng-src="{{::slide.background}}" sstyle=" margin-left:100px;margin-top:25px; width:300px; height :0px" role="presentation">
</a>
</div>
</uib-slide>
</uib-carousel>
</div>
CSS
.carousel-control.left {
width: 0px;
height: 0px;
}
.carousel-control.right {
width: 0px;
height: 0px;
}
.carousel-control .glyphicon-chevron-left{
width: 0px;
height: 0px;
margin-top:0px;
font-size:0px;
}
.carousel-control .glyphicon-chevron-right{
width: 0px;
height: 0px;
margin-top:0px;
font-size:0px;
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-22-2018 12:17 AM
Hi Vikram,
You can modify your HTML code with the below code.
<img ng-src="{{::slide.background}}" style=" margin-left:-397px;margin-top:35px; width:450px; height :220px">
and adjust the width and height according to your requirement.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-22-2018 12:19 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-30-2018 10:06 PM
Hi Thanks. I tried above method. Size is getting reduced. But there are grey areas around the carousel. I think that is the default size of it. Can you please tell me how to remove that.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-31-2018 12:11 AM
Hi
Please attach some screenshots for better understanding.