Created
August 14, 2017 21:19
-
-
Save robertstaddon/3c79a0e1210551d02ac5cefe78a69a83 to your computer and use it in GitHub Desktop.
Divi - style the custom featured image (include default blog page)
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
@media all and (min-width: 768px) { | |
.et_pb_posts img, .archive .post img, .category .post img, .search .post img, .blog .post img { | |
float: left; | |
margin-right: 1em; | |
} | |
.et_pb_posts article:after, .archive article:after, .category article:after, .search article:after, .blog article:after { /* Clear floated image */ | |
content: ""; | |
display: table; | |
clear: both; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment