Last active
September 27, 2016 15:51
-
-
Save KFleeger/5175b27302d95855e4215e2bd510acdc to your computer and use it in GitHub Desktop.
Styles to add to a genesis child theme to create a horizontal opt-in for the enews extended plugin.
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
/* | |
Enews Plugin | |
-----------------------------------------------------------------*/ | |
.home-cta .enews p { | |
width: 50%; | |
float: left; | |
clear: none; | |
font-size: 28px; | |
margin-right: 4%; | |
margin-top: 10px; | |
text-align: center; | |
text-transform: uppercase; | |
} | |
.home-cta .enews form { | |
width: 45%; | |
float: left; | |
clear: none; | |
margin-top: 10px; | |
} | |
.home-cta .enews input, .home-cta .enews select, .home-cta .enews textarea { | |
float: left; | |
width: 30%; | |
clear: none; | |
margin-right: 10px; | |
} | |
@media only screen and (max-width: 1023px) { | |
.home-cta .enews p { | |
width: 87%; | |
clear: both; | |
margin: 0 6%; | |
} | |
.home-cta .enews form { | |
width: 87%; | |
clear: both; | |
margin: 0 6%; | |
} | |
} | |
@media only screen and (max-width: 500px) { | |
.home-cta .enews input, .home-cta .enews select, .home-cta .enews textarea { | |
float: none; | |
width: 100%; | |
clear: both; | |
margin: 5px 0px; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment