Created
October 18, 2017 13:41
-
-
Save willbroderick/2a1cbff7287ad11641e3db2dd39a13b5 to your computer and use it in GitHub Desktop.
Expression - Two products per-row on mobile
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
@media only screen and (max-width: 767px) { | |
#content .productlist .product { width: 48%; } | |
#content .productlist .product:nth-child(2n+1) { margin-left: 4%; } | |
#page-collection #content .productlist .product:nth-child(2n) { margin-left: 4%; } | |
#page-collection #content .productlist .product:nth-child(2n+1) { margin-left: 0; } | |
#content .productlist .product .foot .buttoncont, #content .productdetail .buttoncont { max-width: 100%; } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment