Created
October 15, 2016 21:10
-
-
Save SiGaCode/c1349719d4ec216b459beffc796d8705 to your computer and use it in GitHub Desktop.
Make EZ home wrapping divs go full width to look like rows while content stays usual width and centered, color the middle row.
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
.ez-home .site-inner, #home-hook-wrap, #home-hook-wrap, | |
#ez-home-top-container, #ez-home-middle-container, #ez-home-bottom-container { | |
max-width: 100%; | |
padding:0; | |
} | |
#ez-home-top-container .ez-home-wrap, #ez-home-middle-container .ez-home-wrap, #ez-home-bottom-container .ez-home-wrap { | |
float:none; | |
margin: 0 auto; | |
padding: 50px 20px; | |
} | |
#ez-home-middle-container { | |
background: #e8e8e8; | |
} | |
/* Adjust the width to fit your layout settings */ | |
@media only screen and (min-width:1200px) { | |
#ez-home-top-container .ez-home-wrap, #ez-home-middle-container .ez-home-wrap, #ez-home-bottom-container .ez-home-wrap { | |
width: 1080px; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment