Skip to content

Instantly share code, notes, and snippets.

@jfonte
Created June 9, 2018 15:57
Show Gist options
  • Save jfonte/6442bd24d8725d9c88ca7170d97bc0f1 to your computer and use it in GitHub Desktop.
Save jfonte/6442bd24d8725d9c88ca7170d97bc0f1 to your computer and use it in GitHub Desktop.
Fix height variation in slick and cross sells
#cross-sell .cross-sell img{
height: 200px;
width: auto;}
@media only screen and (max-width: 500px){
#cross-sell .cross-sell img {
height: 100px;
width: auto; }}
@media only screen and (max-width: 979px) and (min-width: 501px){
#cross-sell .cross-sell img {
height:150px;
width:auto
} }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment