/*
Theme Name: Linen PRO Child Theme
Theme URI: http://thethemefoundry.com/linen/
Description: Child theme for customizing Linen PRO.
Version: 1.0
Author: The Theme Foundry
Author URI: http://thethemefoundry.com/
Template: linen_pro
*/

/* Import Stylesheets, don't remove these.
-----------------------------------------------------------*/
@import url("../linen_pro/stylesheets/master.css");

/* Required Wordpress Classes, don't remove these.
-----------------------------------------------------------*/
.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.alignleft { float: left; }
.alignright { float: right; }

/* Make all custom CSS changes BELOW this line
-----------------------------------------------------------*/
/* Example: Change the sidebar background to blue:
#sidebar {
	background: blue;
}

*/
#sidebar {
	background: #FFFFF;
}

.sidebar .widget {
  background: none;
  border-bottom: 2px solid #0A2A1B;
}
#body {
background-color: #FFFFA4;
}
.tribe-view-all-events {
font-size:12px;
}
add_filter( 'post_thumbnail_html', 'my_post_image_html', 10, 3 );

function my_post_image_html( $html, $post_id, $post_image_id ) {

  $html = '<a href="' . get_permalink( $post_id ) . '" title="' . esc_attr( get_post_field( 'post_title', $post_id ) ) . '">' . $html . '</a>';
  return $html;

}

<?php
if ( has_post_thumbnail()) {
  echo '<a href="' . get_permalink($post->ID) . '" >';
  the_post_thumbnail();
  echo '</a>';
}
?>