...
Code Block | ||||
---|---|---|---|---|
| ||||
/* Remove the constraint on the LI used by the home slider */ .featured-products-gallery li { height: auto; } /* Center the image within the home slider */ .featured-products-gallery li img { margin: 0 auto; } /* Reduce the font size of the home slider overlay text on small because the image will shrink in height */ @media only screen and (max-width: 40em) { .featured-products-gallery h1 { font-size: 24px; } .featured-products-gallery h2 { font-size: 18px; } } |
...