Created
February 12, 2018 07:25
-
-
Save zgordon/1cb1f6913a1349442be16c4429d88848 to your computer and use it in GitHub Desktop.
This example shows how you can select all elements within the main .entry-content area and set them to have fixed with and centered layout.
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
.entry-content > *:not( .alignwide ):not( .alignfull ) { | |
max-width: 50%; | |
width: 50%; | |
margin-left: auto; | |
margin-right: auto; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment