Created
February 20, 2017 14:43
-
-
Save MikeRawlins/a994e260319462ecb15c8fed5b1eb5c6 to your computer and use it in GitHub Desktop.
Add text alignment to WordPress themes when it is missing
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
/* This will add left, right & centre alignment to your theme | |
--------------------------------------------- */ | |
.aligncenter, div.aligncenter { | |
display: block; | |
margin-left: auto; | |
margin-right: auto; | |
} | |
.alignleft { | |
float: left; | |
} | |
.alignright { | |
float: right; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment