diff --git a/wp-content/themes/svbtle/functions.php b/wp-content/themes/svbtle/functions.php index 2fd4fb5..4949045 100755 --- a/wp-content/themes/svbtle/functions.php +++ b/wp-content/themes/svbtle/functions.php @@ -26,9 +26,11 @@ function theme_setup() { 'wp-head-callback' => 'theme_header_style', 'admin-head-callback' => 'theme_admin_header_style', 'admin-preview-callback' => 'theme_admin_header_image' + ) ); } else { add_theme_support( 'custom-header', array( 'random-default' => true ) ); + add_theme_support( 'post-thumbnails' ); //WP Custom Header - random roation by default define( 'HEADER_TEXTCOLOR', '' ); define( 'HEADER_IMAGE', '%s/images/icons/bolt_large.png' ); diff --git a/wp-content/themes/svbtle/loop.php b/wp-content/themes/svbtle/loop.php index d0571bb..46a06d1 100755 --- a/wp-content/themes/svbtle/loop.php +++ b/wp-content/themes/svbtle/loop.php @@ -5,8 +5,10 @@ ID, '_wp-svbtle-kudos', true ) ? get_post_meta( $post->ID, '_wp-svbtle-kudos', true ) : '0';?>
-

+ ID ), 'thumbnail' ); ?> + ID ), 'single-post-thumbnail' ); ?> + " alt="" class="thumbnail alignleft" />
diff --git a/wp-content/themes/svbtle/style.css b/wp-content/themes/svbtle/style.css index 6883464..aeeaf44 100644 --- a/wp-content/themes/svbtle/style.css +++ b/wp-content/themes/svbtle/style.css @@ -143,6 +143,24 @@ li.share-end{display: none !important; clear: none !important;} .sharedaddy li{float: left; margin: 0 !important; list-style: none !important; padding: 0 !important} +/* Featured Image (post thumbnail) styling */ +.thumbnail { + margin-bottom: 10px; +} +img.thumbnail { + border-radius: 300px; + border-style: solid; + border-color: white; + border-width: 5px; + box-shadow: 0px 6px 11px rgba(0, 0, 0, 0.43); + -moz-box-shadow: 0px 6px 11px rgba(0, 0, 0, 0.43); + -webkit-box-shadow: 0px 6px 11px rgba(0, 0, 0, 0.43); +} +img.thumbnail:hover { + -webkit-filter: grayscale(100%); +} + + @media (max-width: 630px) { /* Responsive Comments */