Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save ashlie-elizabeth-moore/a29147d70657f8521a38775a20aadec3 to your computer and use it in GitHub Desktop.

Select an option

Save ashlie-elizabeth-moore/a29147d70657f8521a38775a20aadec3 to your computer and use it in GitHub Desktop.
Fix: Wordpress Posts Gallery using Divi Builder Gallery [Archived]
<style>
ul.et_post_gallery.clearfix{
padding: 5% 0 !important;
margin: 0px !important;
display: flex;
flex-wrap: wrap;
width: 100%;
align-items: center;
justify-content: center;
}
.et_portfolio_image img{
width: 100% !important;
height: auto !important;
padding: 0px !important;
margin: 0px !important;
border: 0px !important;
}
.et_gallery_item{
display: flex;
flex-wrap: wrap;
margin: 1%;
padding: 0;
width: 43%;
}
.et_overlay{
display: none !important;
}
</style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment