Created
September 7, 2016 18:45
-
-
Save pro-beaver/ebcb2013e229fffa49ecace84a5bbfc2 to your computer and use it in GitHub Desktop.
Center align left or right aligned text in mobile Beaver Builder layout
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
/** | |
* mobile-left-center class makes left aligned text center in mobile layout | |
* mobile-right-center class makes right aligned text center in mobile layout | |
* | |
* @author Davinder Singh Kainth | |
* @link http://probeaver.com/?p=770 | |
* | |
*/ | |
.mobile-left-center { | |
text-align: left; | |
} | |
.mobile-right-center { | |
text-align: right; | |
} | |
@media only screen and (max-width: 768px) { | |
.mobile-left-center, | |
.mobile-right-center { | |
text-align: center; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment