Created
September 25, 2019 07:22
-
-
Save shopifypartners/597ca7440f4343821887c323af4f647c to your computer and use it in GitHub Desktop.
How to use Shopify theme settings to create mobile-specific logos |
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
/*================ Display and hide logo images on header ================*/ | |
/* Large devices (over 700 px) */ | |
@media only screen and (min-width: 701px) { | |
#mobile{ | |
display:none; | |
} | |
} | |
/* Small devices (under 700 px) */ | |
@media only screen and (max-width: 700px) { | |
#desktop{ | |
display:none; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment