Created
July 27, 2016 18:30
-
-
Save nickdavis/3370863aa027500f13b4bb0d661b7007 to your computer and use it in GitHub Desktop.
Hide the Kickstart Pro homepage background image below a certain width and set a background colour instead
This file contains hidden or 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: 480px) { | |
| /* Hide the regular background image */ | |
| .home .before-content .backstretch { | |
| display: none !important; | |
| } | |
| /* Set a colour so we don't end up with white on white text */ | |
| .home .before-content { | |
| background-color: #8dc1d9; | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment