Skip to content

Instantly share code, notes, and snippets.

@shopifypartners
Created September 25, 2019 07:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shopifypartners/597ca7440f4343821887c323af4f647c to your computer and use it in GitHub Desktop.
Save shopifypartners/597ca7440f4343821887c323af4f647c to your computer and use it in GitHub Desktop.
How to use Shopify theme settings to create mobile-specific logos |
/*================ 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