Created
October 1, 2013 15:39
-
-
Save jbutko/6780441 to your computer and use it in GitHub Desktop.
WP, php, CSS, functions.php: $content_width in functions.php required
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
if ( ! isset( $content_width ) ) | |
$content_width = 600; | |
It's also recommended to add the following CSS to your theme: | |
.size-auto, | |
.size-full, | |
.size-large, | |
.size-medium, | |
.size-thumbnail { | |
max-width: 100%; | |
height: auto; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment