Created
February 3, 2014 22:21
-
-
Save thadallender/8793654 to your computer and use it in GitHub Desktop.
Change from a 3 column to 5 column grid for Sell Media archives
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
.sell-media .sell-media-grid { width: 18%; } | |
.sell-media .sell-media-grid:nth-child(5n) { margin-right: 0; } | |
.sell-media .sell-media-grid:nth-child(3n), .sell-media .sell-media-grid .end { margin-right: 2%; } | |
.sell-media .sell-media-grid:nth-child(5n+1) { clear: left; } | |
.sell-media .sell-media-grid:nth-child(3n+1) { clear: none; } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment