Change the height of a slider

Home Divi Code Snippet Library 'Divi Slider Module' Snippets Change the height of a slider....

To change the height of a slider, which is not the same as all the others, call the css class for example newslider:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
@media only screen and ( min-width:981px ) {
 /* Set the slider height */
 .newslider, .newslider .et_pb_container {
 height: 500px !important;
 }
 .newslider, .newslider .et_pb_slide {
 max-height: 500px;
 }
 .newslider .et_pb_slide_description {
 position: relative;
 top: 25%;
 padding-top: 0 !important;
 padding-bottom:0 !important;
 height:auto !important;
 }
}