Created
August 21, 2012 03:42
-
-
Save AntoniosHadji/3411314 to your computer and use it in GitHub Desktop.
Genesis Sample Child theme - responsive header image and header area
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
/*in this section of code */ | |
@media only screen and (max-width: 600px) { | |
/* I added this code block */ | |
#header { | |
background-size: contain !important; | |
min-height: 100%; | |
overflow-y:hidden; | |
} | |
/* I modified the code block below to show height as 100% instead of 100px */ | |
/* Image Header - Partial Width | |
------------------------------------------------------------ */ | |
.header-image #title-area, | |
.header-image #title, | |
.header-image #title a { | |
display: block; | |
float: left; | |
height: 100%; | |
overflow: hidden; | |
padding: 0; | |
text-indent: -9999px; | |
width: 400px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment