Created
December 11, 2014 19:44
-
-
Save ellenmva/a01e17084d4a73b9a6a4 to your computer and use it in GitHub Desktop.
responsive image for Filtering on tablets and smartphones for larger item and image widths
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) { | |
.section-filtering .filtering { | |
width: 100% !important; | |
} | |
.section-filtering .isotope .isotope-item { | |
max-width: 100% !important; | |
} | |
.section-filtering .filtering .filtering-image { | |
height: 100% !important; | |
} | |
.section-filtering .filtering .filtering-image img { | |
max-height: 100% !important; | |
max-width: 100% !important; | |
width: auto !important; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment