Last active
February 12, 2018 09:57
-
-
Save zgordon/9a2cec72895c06735f0dbc3dbbcd96e5 to your computer and use it in GitHub Desktop.
This example shows how you can convert all two column styles to 100% width single column styles.
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
.site-content .wrap, | |
.has-sidebar:not(.error404) #primary, | |
.has-sidebar #secondary, | |
body:not(.has-sidebar):not(.page-one-column) .page-header, | |
body.has-sidebar.error404 #primary .page-header, | |
body.page-two-column:not(.archive) #primary .entry-header, | |
body.page-two-column.archive:not(.has-sidebar) #primary .page-header, | |
.blog:not(.has-sidebar) #primary article, | |
.archive:not(.page-one-column):not(.has-sidebar) #primary article, | |
.search:not(.has-sidebar) #primary article, | |
.error404:not(.has-sidebar) #primary .page-content, | |
.error404.has-sidebar #primary .page-content, | |
body.page-two-column:not(.archive) #primary .entry-content, | |
body.page-two-column #comments { | |
max-width: 100%; | |
width: 100%; | |
float: none; | |
padding-left: 0; | |
padding-right: 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment