Skip to content

Instantly share code, notes, and snippets.

@cre8tivediva
Created August 7, 2016 15:16
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 cre8tivediva/b54ce867dc81d099a5282d29e1bc1eb4 to your computer and use it in GitHub Desktop.
Save cre8tivediva/b54ce867dc81d099a5282d29e1bc1eb4 to your computer and use it in GitHub Desktop.
Responsive Mobile CSS for Fun Theme When using Full Width Header
//* Place all code in the Media Queries area
@media only screen and (max-width: 1280px) {
.header-image .site-title a {
background-size: contain !important;
height: 0;
min-height: 286px;
}
}
@media only screen and (max-width: 768px) {
.header-image .site-title a {
background-size: contain !important;
height: 0;
min-height: 179px;
}
}
@media only screen and (max-width: 600px) {
.header-image .site-title a {
background-size: contain !important;
height: 0;
min-height: 139px;
}
}
@media only screen and (max-width: 480px) {
.header-image .site-title a {
background-size: contain !important;
height: 0;
min-height: 110px;
}
}
@media only screen and (max-width: 320px) {
.header-image .site-title a {
background-size: contain !important;
height: 0;
min-height: 72px;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment