I'm using carousel slider more than two times and its .item
height is 100%
. I had to adjust the main slider on specific height, so i added a class .custom-slider
in header
tag put the style with !important
tag, because there was already 100%
height .
.custom-slider {
height: 645px !important;
}
Its adjusted and working fine. Now I have to adjust the on different resolution, so i have to reduce the height 645px
to 496px
, but due to !important
property new added height does not working.
I'm trying following style on 1024 reslution, but its not working.
.custom-slider {
height: 496px !important;
}
This accepted answer is well explained, but i didn't resolve my issue, can any guide me regarding this. I would like to appreciate.