Skip to content

Instantly share code, notes, and snippets.

@mirkoschubert
Created October 7, 2019 08:30
Show Gist options
  • Save mirkoschubert/a57bc2f005f9e4602dffe4ac8ee3b506 to your computer and use it in GitHub Desktop.
Save mirkoschubert/a57bc2f005f9e4602dffe4ac8ee3b506 to your computer and use it in GitHub Desktop.
Fix for Josef
.child .et_pb_gallery .et_pb_gallery_image {
border: none;
width: 100% !important;
}
.child .et_pb_gallery .et_pb_grid_item {
clear: none !important;
margin: 0 !important;
width: 20% !important;
}
@media (max-width: 980px) {
.child .et_pb_gallery .et_pb_grid_item {
width: 25% !important;
}
}
@media (max-width: 767px) {
.child .et_pb_gallery .et_pb_grid_item {
width: 33.33333% !important;
}
}
@media (max-width: 479px) {
.child .et_pb_gallery .et_pb_grid_item {
width: 50% !important;
}
}
@media (max-width: 359px) {
.child .et_pb_gallery .et_pb_grid_item {
width: 100% !important;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment