Skip to content

Instantly share code, notes, and snippets.

@richtabor
Created August 9, 2014 12:40
Show Gist options
  • Save richtabor/810553ccf5841837d79d to your computer and use it in GitHub Desktop.
Save richtabor/810553ccf5841837d79d to your computer and use it in GitHub Desktop.
/* Masonry Grids */
.masonry-item {
padding: 15px; /* Adjust this padding here to add/subtract from the gutter */
width: 50%;
}
/* Portfolio Grids (Floating) */
#load-more .portfolio,
.products li .portfolio,
.widget_bean_portfolio li,
#portfolio-grid li .portfolio,
#portfolio-grid.more li .portfolio,
#portfolio-grid li .portfolio a {
display: block;
margin: 25px; /* Adjust this padding here to add/subtract from the gutter */
overflow: hidden;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment