Home Setting the height, width of image carousel

# Setting the height, width of image carousel

Tom
1#
Tom Published in 2017-09-12 16:37:16Z
 My Image carousel code as follows 
 And added the following jquery:   Finally I used following code to set the size of image carousel   The problem is when the page loads, it loads with the given dimensions and then suddenly get large. When I change the width to different number then the width is set as expected, but the size of the height is not set to given value. When I reduce the width then the height also changes with the width. I implemented the code for new MVC simple web application and this works well as I expected. But when I tried to implement the same for existing project, I got the problem of setting the height of the carousel. Could you please can any one give me an idea to get this issue solved.
Omi
2#
 Use !important rule to height property. !important rule overrides that particular property. .carousel-inner > .item > img { width: 1200px; height: 360px !important; }