Created
January 27, 2018 12:01
-
-
Save kabbo508/e7768e2d8612dba1b235ce429f0e8cad to your computer and use it in GitHub Desktop.
Write it theme option or child theme style.css file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* === Begin: Set the divi slider height === */ | |
/* Src: https://divibooster.com/changing-the-height-of-the-divi-slider/ */ | |
/* Desktop */ | |
.myslider .et_pb_slide .et_pb_container { | |
height: auto !important; | |
min-height: 500px !important; | |
} | |
/* Tablet */ | |
@media only screen and (min-width: 768px) and (max-width: 980px) { | |
.myslider .et_pb_slide .et_pb_container { | |
height: auto !important; | |
min-height: 500px !important; | |
} | |
} | |
/* Phone */ | |
@media only screen and (max-width: 767px) { | |
.myslider .et_pb_slide .et_pb_container { | |
height: auto !important; | |
min-height: 500px !important; | |
} | |
} | |
/* Handle padding */ | |
.myslider .et_pb_slide { | |
padding-bottom: 0px !important; | |
} | |
.myslider div.et_pb_slide_description, | |
.myslider .et_pb_slider_fullwidth_off div.et_pb_slide_description { | |
padding-top: 1%; | |
padding-bottom: 1%; | |
} | |
/* === End: Set divi slider height === */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment